English
Language : 

SH7052 Datasheet, PDF (693/919 Pages) Renesas Technology Corp – SuperHTM RISC engine
When a pin functions as a general output, if a value is written to PCDR, that value is output
directly from the pin, and if PCDR is read, the register value is returned directly regardless of the
pin state.
When a pin functions as a general input, if PCDR is read the pin state, not the register value, is
returned directly. If a value is written to PCDR, although that value is written into PCDR it does
not affect the pin state. Table 19.6 summarizes port C data register read/write operations.
PCDR is initialized to H'0000 by a power-on reset (excluding a WDT power-on reset), and in
hardware standby mode. It is not initialized in software standby mode or sleep mode.
• Bits 15 to 5—Reserved: These bits always read 0. The write value should always be 0.
Table 19.6 Port C Data Register (PCDR) Read/Write Operations
Bits 4 to 0:
PCIOR
Pin Function
0
General input
Other than
general input
1
General output
Other than
general output
Read
Pin state
Pin state
PCDR value
PCDR value
Write
Value is written to PCDR, but does not affect pin
state
Value is written to PCDR, but does not affect pin
state
Write value is output from pin
Value is written to PCDR, but does not affect pin
state
667