1 overview – Panasonic MN103001G/F01K User Manual

Page 368

Advertising
background image

I/O Ports

15-2

15.1 Overview

The MN103001G and MN1030F01K have a total of 13 internal I/O ports: 0 to 9, A, B and C. These ports

can all be accessed by programs as internal I/O memory space.

Port 0 is a 3-bit general-purpose output port; ports 1, 2, A, and B are 8-bit general-purpose input/output

ports; port 3 is a 1-bit general-purpose input/output port; ports 4 and 5 are 6-bit general-purpose input/output ports;

port 6 is a 4-bit general-purpose input/output port; ports 7 and C are 4-bit general-purpose output ports; port 8 is a
4-bit general-purpose input port; and port 9 consists of 8 bits: P97 and P94 to P92 are general-purpose output ports,

while P96, P95, P91, and P90 are general-purpose input/output ports.

Each port pin has additional functions, described below. The function of these pins can be switched via the

control register within the I/O ports.

Port 0 (P0)

This port is also used for address bus signals A[22:20] and for the DRAM CAS signal CAS.

Port 1 (P1)

This port is also used for data bus signals D[7:0], the address strobe signal AS, and read/write

select RWSEL.

Port 2 (P2)

This port is also used for data bus signals D[15:8].

Port 3 (P3)

This port is also used for the bus grant signal BG.

Port 4 (P4)

This port is also used for the serial interface input/output signals SBI1, SBO1, SBT1, SBI0,

SBO0, SBT0; the DRAM CAS signals (for 2CAS) DCAS1 and DCAS0; and the DRAM write
signal (for 2CAS) DWE.

Port 5 (P5)

This port is also used for the serial interface input/output signals SBI3, SBO3, SBT3, SBI2,
SBO2, SBT2; and the timer input/output signals TM13IO, TM12IO, TM11IO, TM5IO,

TM4IO, TM3IO, TM2IO, TM1IO, and TM0IO.

Port 6 (P6)

This port is also used for external interrupt inputs IRQ3 to IRQ0; the timer input/output signals

TM6IO, TM7IO, TM10IOA, TM10IOB; and the A/D conversion trigger input ADTRG.

Advertising