English
Language : 

HD6473887 Datasheet, PDF (185/523 Pages) Renesas Technology Corp – Hitachi Single-Chip Microcomputer
1. Port data register 9 (PDR9)
Bit
Initial value
Read/Write
7
P97
0
R/W
6
P96
0
R/W
5
P95
0
R/W
4
P94
0
R/W
3
P93
0
R/W
2
P92
0
R/W
1
P91
0
R/W
0
P90
0
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
Initial value
Read/Write
7
PCR97
0
W
6
PCR96
0
W
5
PCR95
0
W
4
PCR94
0
W
3
PCR93
0
W
2
PCR92
0
W
1
PCR91
0
W
0
PCR90
0
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