English
Language : 

HD6473837H Datasheet, PDF (181/562 Pages) Renesas Technology Corp – Hardware Manual
Upon reset, PDR7 is initialized to H'00.
Port Control Register 7 (PCR7)
Bit
Initial value
Read/Write
7
PCR77
0
W
6
PCR76
0
W
5
PCR75
0
W
4
PCR74
0
W
3
PCR73
0
W
2
PCR72
0
W
1
PCR71
0
W
0
PCR70
0
W
PCR7 is an 8-bit register for controlling whether each of the port 7 pins P77 to P70 functions as an
input pin or output pin. Setting a PCR7 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 PCR7 and in PDR7 are valid only
when the corresponding pin is designated in bits SGS3 to SGS0 in LPCR as a general I/O pin.
Upon reset, PCR7 is initialized to H'00.
PCR7 is a write-only register. All bits are read as 1.
8.8.3 Pin Functions
Table 8.21 shows the port 7 pin functions.
Table 8.21 Port 7 Pin Functions
Pin
P77/SEG24 to
P74/SEG21
Pin Functions and Selection Method
The pin function depends on bit PCR7n in PCR7 and bits SGS3 to SGS0 in
LPCR.
(n = 7 to 4)
SGS3 to SGS0
00**
01** or 1***
PCR7n
0
1
*
Pin function
P7n input pin P7n output pin
SEGn+17 output pin
P73/SEG20 to
P70/SEG17
The pin function depends on bit PCR7n in PCR7 and bits SGS3 to SGS0 in
LPCR.
(n = 3 to 0)
SGS3 to SGS0
00** or 0100
0101, 011* or 1****
PCR7n
0
1
*
Pin function
P7n input pin P7n output pin
SEGn+17 output pin
Note: * Don’t care
164