English
Language : 

HD6473837H Datasheet, PDF (186/562 Pages) Renesas Technology Corp – Hardware Manual
Upon reset, PDR9 is initialized to H'00.
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 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 in PDR9 are valid only
when the corresponding pin is designated in 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. All bits are read as 1.
8.10.3 Pin Functions
Table 8.27 shows the port 9 pin functions.
Table 8.27 Port 9 Pin Functions
Pin
P97/SEG40/CL1
Pin Functions and Selection Method
The pin function depends on bit PCR97 in PCR9, and bits SGX and SGS3 to
SGS0 in LPCR.
SGS3 to SGS0
0000
Not 0000
*
SGX
0
0
1
PCR97
Pin function
0
P97 input
pin
1
P97 output
pin
*
SEG40 output
pin
*
CL1 output
pin
P96/SEG39/CL2
The pin function depends on bit PCR96 in PCR9, and bits SGX and SGS3 to
SGS0 in LPCR.
SGS3 to SGS0
0000
Not 0000
*
SGX
0
0
1
PCR96
Pin function
0
P96 input
pin
1
P96 output
pin
*
SEG39 output
pin
*
CL2 output
pin
Note: * Don’t care
169