IV - 13
Chapter 4 I/O Ports
Port 1
4-3-2 Registers
Figure 4-3-1 Port 1 Registers (1/3)
01245673
P1OUT
P1OUT3 P1OUT2 P1OUT1 P1OUT0
- - - P1OUT4
0
1
Low (V
SS
level)
Output data
High (V
DD
level)
P1OUT
01245673
P1IN
P1IN3 P1IN2 P1IN1 P1IN0
- - - P1IN4
0
1
Pin is low(V
SS
level).
Input data
Pin is high(V
DD
level).
P1IN
01245673
P1DIR
P1DIR3 P1DIR2 P1DIR1 P1DIR0
- - - P1DIR4
0
1
Input mode
I/O mode selection
Output mode
P1DIR
01245673
P1PLU
P1PLU3 P1PLU2 P1PLU1 P1PLU0
- - - P1PLU4
0
1
No pull-up resistor
Pull-up resistor selection
Pull-up resistor
P1PLU
Port 1 output register (P1OUT : x'03F11', R/W)
Port 1 input register (P1IN : x'03F21', R)
Port 1 direction control register (P1DIR : x'03F31', R/W)
Port 1 pull-up resistor control register (P1PLU : x'03F41', R/W)
( At reset : - - - 0 0 0 0 0 )
( At reset : - - - X X X X X )
( At reset : - - - 0 0 0 0 0 )
( At reset : - - - 0 0 0 0 0 )