English
Language : 

SH7261 Datasheet, PDF (1084/1348 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 Series
Section 24 I/O Ports
24.3.2 Port C Data Registers H and L (PCDRH and PCDRL)
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 24.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)
Bit: 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
—
—
—
—
—
—
—
—
—
—
PC21 PC20 PC19 PC18 PC17 PC16
DR DR DR DR DR DR
Initial value: 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
R/W: R R R R R R R R R R R/W R/W R/W R/W R/W R/W
• Port C data register L (PCDRL)
Bit: 15 14 13 12 11 10
PC15 PC14 PC13 PC12 PC11 PC10
DR DR DR DR DR DR
Initial value: 0
0
0
0
0
0
R/W: R/W R/W R/W R/W R/W R/W
9
PC9
DR
0
R/W
8
PC8
DR
0
R/W
7
PC7
DR
0
R/W
6
PC6
DR
0
R/W
5
PC5
DR
0
R/W
4
PC4
DR
0
R/W
3
PC3
DR
0
R/W
2
PC2
DR
0
R/W
1
PC1
DR
0
R/W
0
PC0
DR
0
R/W
Rev. 2.00 Sep. 07, 2007 Page 1052 of 1312
REJ09B0320-0200