Chapter 4 I/O Ports
IV - 38
Port 8
4-8-2 Registers
Figure 4-8-1 Port 8 Registers (1/2)
01245673
P8OUT
P8OUT6P8OUT7 P8OUT5 P8OUT4 P8OUT3 P8OUT2 P8OUT1 P8OUT0
0
1
Low (VSS level)
Output data
High (V
DD level)
P8OUT
01245673
P8IN
P8IN6P8IN7 P8IN5 P8IN4 P8IN3 P8IN2 P8IN1 P8IN0
0
1
Pin is Low (VSS level).
Input data
Pin is High (V
DD level).
P8IN
01245673
P8DIR
P8DIR6P8DIR7 P8DIR5 P8DIR4 P8DIR3 P8DIR2 P8DIR1 P8DIR0
0
1
Input mode
I/O mode selection
Output mode
P8DIR
01245673
P8PLU
P8PLU6P8PLU7 P8PLU5 P8PLU4 P8PLU3 P8PLU2 P8PLU1 P8PLU0
0
1
No pull-up resistor
Pull-up resistor selection
Pull-up resistor
P8PLU
Port 8 output register (P8OUT : x'03F18', R/W)
Port 8 input register (P8IN : x'03F28', R)
Port 8 direction control register (P8DIR : x'03F38', R/W)
Port 8 pull-up resistor control register (P8PLU : x'03F48', R/W)
( At reset : 0 0 0 0 0 0 0 0 )
( At reset : 0 0 0 0 0 0 0 0 )
( At reset : X X X X X X X X )
( At reset : 0 0 0 0 0 0 0 0 )