Chapter 4 I/O Ports
IV - 2
Overview
4-1 Overview
4-1-1 I/O Port Diagram
A total of 54 pins on this LSI, including those shared with special function pins, are allocated for the 8 I/O
ports of ports 0 to 2, ports 5 to 8 and port A. Each I/O port is assigned to its corresponding special function
register area in memory. I/O ports are operated in byte or bit units in the same way as RAM.
Figure 4-1-1 I/O Port Functions
P00,SBO1A,TXD1A
P01,SBI1A,RXD1A,SDA4B
P02,SBT1A,SCL4B
P03,SBO0A,TXD0A
Port0
Port1
Port2
P04,SBI0A,RXD0A
P05,SBT0A
P06,BUZZER
P10,RMOUTA,TCO0A
P11,RMOUTB,TCIO0B
P12,TCO4A
P13,TCIO4B
P14,TCIO7
P20,IRQ0
P21,IRQ1,ACZ
P22,IRQ2
P23,IRQ3
P24,IRQ4
P27,NRST
KEY0,SDO0,P60
Port7
Port6
Port8
PortA
KEY1,SDO1,P61
KEY2,SDO2,P62
KEY3,SDO3,P63
KEY4,SDO4,P64
KEY5,SDO5,P65
KEY6,SDO6,P66
KEY7,SDO7,P67
TXD1B,SBO1B,P73
RXD1B,SBI1B,P74
SBT1B,P75
TXD0B,SBO0B,P70
RXD0B,SBI0B,P71
SBT0B,P72
TCIO1,P76
TCIO5,P77
LED0,P80
LED1,P81
LED2,P82
LED3,P83
LED4,P84
LED5,P85
LED6,P86
LED7,P87
DA0,AN0,PA0
DA1,AN1,PA1
AN2,PA2
AN3,PA3
AN4,PA4
AN5,PA5
Port5
P50,SBI3
P51,SBO3,SDA3
P52,SBT3,SCL3
P53,SDA4A
P54,SCL4A
AN6,PA6