Chapter 7
I/O Port
7.1 Overview
7.1.1
I/O Port Overview
I/O port is controlled with the following registers.
- Output Register (PnOUT)
- Input Register (PnIN)
- Direction Control Register (PnDIR)
- Pull-up Control Register (PnPLU)
- Special Function Control Register (PnODC, PnNLC etc.)
Table:7.1.1 shows the status of each port at LSI reset.
Table:7.2.1 shows the list of port control registers.
Port
Port 0
Port 1
Port 2
Port 3
Port 4
Port 5
Port 6
Port 7
Port 8
VII - 2
Overview
Table:7.1.1 I/O port status at reset (single chip mode)
I/O mode
Input mode
No pull-up resistor
Input mode
No pull-up resistor
P27: Pull-up resistor
Input mode
Others: No pull-up resistor
Input mode
No pull-up resistor
Input mode
No pull-up resistor
Input mode
No pull-up resistor
Input mode
No pull-up resistor
Input mode
No pull-up resistor
Input mode
No pull-up resistor
Pull-up resistor
I/O port/ Special function
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port