150
Port Data Register 9 (PDR9)
Bit
7
6
5
4
3
2
1
0
P9
7
P9
6
P9
5
P9
4
P9
3
P9
2
P9
1
P9
0
Initial value
0
0
0
0
0
0
0
0
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PDR9 is an 8-bit register that stores data for port 9 pins P9
7
to P9
0
. If port 9 is read while PCR9
bits are set to 1, the values stored in PDR9 are directly read, regardless of the actual pin states. If
port 9 is read while PCR9 bits are cleared to 0, the pin states are read.
Upon reset, PDR9 is initialized to H'00.
Port Control Register 9 (PCR9)
Bit
7
6
5
4
3
2
1
0
PCR9
7
PCR9
6
PCR9
5
PCR9
4
PCR9
3
PCR9
2
PCR9
1
PCR9
0
Initial value
0
0
0
0
0
0
0
0
Read/Write
W
W
W
W
W
W
W
W
PCR9 is an 8-bit register for controlling whether each of the port 9 pins P9
7
to P9
0
functions as an
input or output pin. Setting a PCR9 bit to 1 makes the corresponding pin an output pin, while
clearing the bit to 0 makes the pin an input pin.
Upon reset, PCR9 is initialized to H'00.
PCR9 is a write-only register. All bits are read as 1.