IV - 31
Chapter 4 I/O Ports
Port 7
01245673
P7OUT
P7OUT6P7OUT7 P7OUT5 P7OUT4 P7OUT3 P7OUT2 P7OUT1 P7OUT0
0
1
Low (V
SS
level)
Output data
High (V
DD
level)
P7OUT
01245673
P7IN
P7IN6P7IN7 P7IN5 P7IN4 P7IN3 P7IN2 P7IN1 P7IN0
0
1
Pin is Low (V
SS
level).
Input data
Pin is High (V
DD
level).
P7IN
01245673
P7DIR
P7DIR6P7DIR7 P7DIR5 P7DIR4 P7DIR3 P7DIR2 P7DIR1 P7DIR0
0
1
Input mode
I/O mode selection
Output mode
P7DIR
01245673
P7PLUD
P7PLUD6P7PLUD7 P7PLUD5 P7PLUD4 P7PLUD3 P7PLUD2 P7PLUD1 P7PLUD0
0
1
No pull-up (or pull-down) resistor
Pull-up (or Pull-down)
resistor selection
Pull-up (or Pull-down) resistor
P7PLUD
Port 7 output register (P7OUT : x'03F17', R/W)
Port 7 input register (P7IN : x'03F27', R)
Port 7 direction control register (P7DIR : x'03F37', R/W)
Port 7 pull-up / pull-down resistor control register (P7PLUD : x'03F47', 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 )
4-7-2 Registers
Figure 4-7-1 Port 7 Registers (1/2)