English
Language : 

SH7712 Datasheet, PDF (832/978 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Section 21 I/O Ports
21.2.3 Port C Data Register (PCDR)
PCDR is an 8-bit readable/writable register that stores the data for pins PTC7 to PTC0. Bits
PC7DT to PC0DT correspond to the pins PTC7 to PTC0. PCDR is initialized to H′00 by a power-
on reset but is not initialized by a manual reset, in standby mode, or sleep mode.
Initial
Bit Bit Name Value
7
PC7DT
0
6
PC6DT
0
5
PC5DT
0
4
PC4DT
0
3
PC3DT
0
2
PC2DT
0
1
PC1DT
0
0
PC0DT
0
R/W Description
R/W When the pin function is general output port, if the port
R/W is read, the value of the corresponding PCDR bit is
returned directly. When the function is general input
R/W port, if the port is read, the corresponding pin level is
R/W read. Table 21.4 shows the function of PCDR.
R/W
R/W
R/W
R/W
Table 21.4 Port C Data Register (PCDR) Read/Write Operations
PCnMD1 PCnMD0 Pin State
Read
Write
0
0
Other function PCDR value Value is written to PCDR, but does not
affect pin state.
1
Output
PCDR value Write value is output from pin.
1
0
Input (Pull-up Pin state
Value is written to PCDR, but does not
MOS on)
affect pin state.
1
Input (Pull-up Pin state
Value is written to PCDR, but does not
MOS off)
affect pin state.
[Legend]
n = 0 to 7
Rev. 1.00 Dec. 27, 2005 Page 790 of 932
REJ09B0269-0100