TC1796
System Units (Vol. 1 of 2)
General Purpose I/O Ports and Peripheral I/O Lines
User’s Manual
10-55
V2.0, 2007-07
Ports, V2.0
10.8.2
Port 5 Function Table
summarizes the I/O control selection functions of each Port 5 line.
Table 10-17 Port 5 Functions
Port
Pin
I/O Pin Functionality
Associated Reg./
I/O Line
Port I/O Control Select.
Reg./Bit Field
Value
P5.0
I
General-purpose input
P5_IN.P0
P5_IOCR0.PC0 0XXX
B
ASC0 input
RXD0A
O
General-purpose output
P5_OUT.P0
1X00
B
ASC0 output (sync. mode) RXD0A
1X01
B
Reserved
1)
–
1X10
B
1X11
B
P5.1
I
General-purpose input
P5_IN.P1
P5_IOCR0.PC1 0XXX
B
O
General-purpose output
P5_OUT.P1
1X00
B
ASC0 output
TXD0A
1X01
B
Reserved
–
1X10
B
1X11
B
P5.2
I
General-purpose input
P5_IN.P2
P5_IOCR0.PC2 0XXX
B
ASC1 input
RXD1A
O
General-purpose output
P5_OUT.P2
1X00
B
ASC1 output (sync. mode) RXD1A
1X01
B
Reserved
–
1X10
B
1X11
B
P5.3
I
General-purpose input
P5_IN.P3
P5_IOCR0.PC3 0XXX
B
O
General-purpose output
P5_OUT.P3
1X00
B
ASC1 output
TXD1A
1X01
B
Reserved
–
1X10
B
1X11
B
P5.4
I
General-purpose input
P5_IN.P4
P5_IOCR4.PC4 0XXX
B
O
General-purpose output
P5_OUT.P4
1X00
B
MSC0 output
EN00
1X01
B
1X11
B
MLI0 output
RREADY0B
1X10
B