Renesas R5S72621 User Manual

Page of 2152
 
Section 32   General Purpose I/O Ports 
Page 1710 of 2108 
 
R01UH0134EJ0400  Rev. 4.00 
 
 Sep 
24, 
2014 
SH7262 Group, SH7264 Group
32.2.10
  Port C Data Register 0 (PCDR0) 
PCDR0 is a 16-bit readable/writable register that stores port C data. The PC10DR to PC0DR bits 
correspond to the PC10 to PC0 pins, respectively. 
When a pin function is general output, if a value is written to PCDR0, that value is output directly 
from the pin, and if PCDR0 is read, the register value is returned directly regardless of the pin 
state. 
When a pin function is general input, if PCDR0 is read, the pin state, not the register value, is 
returned directly. If a value is written to PCDR0, although that value is written into PCDR0, it 
does not affect the pin state. Table 32.15 summarizes PCDR0 read/write operation. 
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
-
-
-
-
PC10
DR
PC9 
DR
PC8
DR
PC7 
DR
PC6 
DR
PC5
DR
PC4 
DR
PC3 
DR
PC2
DR
PC1
DR
PC0 
DR
-
Bit:
Initial value:
R/W:
 
 
Bit Bit 
Name 
Initial 
Value R/W 
Description 
15 to 11 
 All 
0 R 
Reserved 
These bits are always read as 0. The write 
value should always be 0. 
10 
PC10DR 
R/W 
See table 32.15 
Note:  Bits 10 and 9 are reserved in the 
SH7262 Group. These bits are always 
read as 0. The write value should always 
be 0. 
9 PC9DR 
R/W 
8 PC8DR 
R/W 
7 PC7DR 
R/W 
6 PC6DR 
R/W 
5 PC5DR 
R/W 
4 PC4DR 
R/W 
3 PC3DR 
R/W 
2 PC2DR 
R/W 
1 PC1DR 
R/W 
0 PC0DR 
R/W