Chapter 3 Port Functions
41
Port Control Registers
3-2 Port Control Registers
3-2-1 Overview
28 registers control the I/O ports. See table 3-2-1.
Table 3-2-1 I/O Port Control Registers (1/2)
Name
Address
R/W Function
P0OUT
P1OUT
P2OUT
P6OUT
P7OUT
P8OUT
P0IN
P1IN
P2IN
P6IN
P7IN
P8IN
PAIN
P0DIR
P1DIR
X'03F10'
X'03F11'
X'03F12'
X'03F16'
X'03F17'
X'03F18'
X'03F20'
X'03F21'
X'03F22'
X'03F26'
X'03F27'
X'03F28'
X'03F2A'
X'03F30'
X'03F31'
Port 0 output register
Port 1 output register
Port 2 output register
Port 6 output register
Port 7 output register
Port 8 output register
Port 0 input register
Port 1 input register
Port 2 input register
Port 6 input register
Port 7 input register
Port 8 input register
Port A input register
Port 0 direction control register
Port 1 direction control register
R/W
R/W
R/W
R/W
R/W
R/W
R
R
R
R
R
R
R
R/W
R/W