English
Language : 

SH7710 Datasheet, PDF (834/996 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Section 22 I/O Ports
22.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 22.4 shows the function of PCDR.
R/W
R/W
R/W
R/W
Table 22.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. 2.00 Dec. 07, 2005 Page 792 of 950
REJ09B0079-0200