Chapter 7
I/O Port
VII - 2 Overview
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.
Table:7.1.1 I/O port status at reset (single chip mode)
Port I/O mode Pull-up resistor I/O port/ Special function
Port 0 Input mode No pull-up resistor I/O port
Port 1 Input mode No pull-up resistor I/O port
Port 2 Input mode
P27: Pull-up resistor
Others: No pull-up resistor
I/O port
Port 3 Input mode No pull-up resistor I/O port
Port 4 Input mode No pull-up resistor I/O port
Port 5 Input mode No pull-up resistor I/O port
Port 6 Input mode No pull-up resistor I/O port
Port 7 Input mode No pull-up resistor I/O port
Port 8 Input mode No pull-up resistor I/O port