4.4.1
Port 2 Register (PDR2)
This section describes the functions of the port 2 register.
Port 2 Register Functions
Port 2 data register (PDR2)
The PDR2 register indicates the state of output latch. Therefore, the pin state cannot be read.
Table 4.4-3 lists the functions of the port 2 register.
Table 4.4-3 Port 2 Register Function
Register
Data
0
Port 2 data
register
(PDR2)
1
DRead
The output latch
Outputs an "L" level to the pin.
value is "0".
(Sets "0" to the output latch.)
The output latch
Outputs an "H" level to the pin.
value is "1".
(Sets "1" to the output latch.)
Read/
Write
Write
R/W
4.4 Port 2
Initial
Address
value
0004
00000000
H
115
B