English
Language : 

HD64F7051SFJ20V Datasheet, PDF (545/843 Pages) Renesas Technology Corp – Hardware Manual Renesas 32-Bit RISC
Section 17 I/O Ports (I/O)
17.4.2 Port C Data Register (PCDR)
Bit: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
—
PC14 PC13 PC12 PC11 PC10 PC9
DR DR DR DR DR DR
PC8
DR
PC7
DR
PC6
DR
PC5
DR
PC4
DR
PC3
DR
PC2
DR
PC1
DR
PC0
DR
Initial value: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R/W: R R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
The port C data register (PCDR) is a 16-bit readable/writable register that stores port C data. Bits
PC14DR to PC0DR correspond to pins PC14/TOH10 to PC0/WRL.
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 17.6 summarizes port C data register read/write operations.
PCDR is initialized 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.
Table 17.6 Port C Data Register (PCDR) Read/Write Operations
PCIOR
0
1
Pin Function
General input
Other than general
input
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
Rev. 5.00 Jan 06, 2006 page 523 of 818
REJ09B0273-0500