R5S72011 RENESAS [Renesas Technology Corp], R5S72011 Datasheet - Page 940

no-image

R5S72011

Manufacturer Part Number
R5S72011
Description
32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 22 I/O Ports
22.3.2
PCDRH and PCDRL are 16-bit readable/writable registers that store port C data. Bits PC21DR to
PC0DR correspond to pins PC21 to PC0, respectively.
If a pin is set to the general output function, the pin will output the value written to the
corresponding bit in PCDRH or PCDRL, and the register value is read from PCDRH and PCDRL
regardless of the state of the pin.
If a pin is set to the general input function, the pin state, not the register value, will be returned if
PCDRH or PCDRL is read. Also, if a value is written to PCDRH or PCDRL, although the value
will actually be written, it will have no influence on the state of the pin. Table 22.6 summarizes
the PCDRH and PCDRL read/write operations.
Bits 15 to 6 in PCDRH are reserved. These bits are read as 0. The write value should always be 0.
PCDRH and PCDRL are initialized to H'0000 by a power-on reset or in deep standby mode. These
registers are not initialized either by a manual reset or by switching to sleep mode or software
standby mode.
• Port C data register H (PCDRH)
• Port C data register L (PCDRL)
Rev. 2.00 Sep. 07, 2007 Page 912 of 1164
REJ09B0321-0200
Initial value:
Initial value:
R/W:
R/W:
Bit:
Bit:
Port C Data Registers H and L (PCDRH and PCDRL)
PC15
R/W
DR
15
15
R
0
0
PC14
R/W
DR
14
14
R
0
0
PC13
R/W
DR
13
13
R
0
0
PC12
R/W
DR
12
12
R
0
0
PC11
R/W
DR
11
11
R
0
0
PC10
R/W
DR
10
10
R
0
0
PC9
R/W
DR
9
0
R
9
0
R/W
PC8
DR
R
8
0
8
0
R/W
PC7
DR
7
0
R
7
0
R/W
PC6
DR
6
0
R
6
0
PC21
R/W
R/W
PC5
DR
DR
5
0
5
0
PC20
R/W
R/W
PC4
DR
DR
4
0
4
0
PC19
R/W
R/W
PC3
DR
DR
3
0
3
0
PC18
R/W
R/W
PC2
DR
DR
2
0
2
0
PC17
R/W
R/W
PC1
DR
DR
1
0
1
0
PC16
R/W
R/W
PC0
DR
DR
0
0
0
0

Related parts for R5S72011