1. Port data register 9 (PDR9)
Bit
7
P97
0
6
P96
0
5
P95
0
4
P94
0
3
P93
0
2
P92
0
1
P91
0
0
P90
0
Initial value
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 P97 to P90. If port 9 is read while PCR9
bits are set to 1, the values stored in PDR9 are 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.
2. Port control register 9 (PCR9)
Bit
7
6
5
4
3
2
1
0
PCR97 PCR96 PCR95 PCR94 PCR93 PCR92 PCR91 PCR90
Initial value
Read/Write
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
PCR9 is an 8-bit register for controlling whether each of the port 9 pins P97 to P90 functions as an
input pin 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. The settings in PCR9 and PDR9 are valid only
when the corresponding pin is designated by bits SGS3 to SGS0 in LPCR as a general I/O pin.
Upon reset, PCR9 is initialized to H'00.
PCR9 is a write-only register, which is always read as all 1s.
168