Section 23 I/O Ports
Rev. 4.00 Sep. 14, 2005 Page 848 of 982
REJ09B0023-0400
23.3.2 Port C Data Register (PCDR)
PCDR is a 16-bit readable/writable register that stores data for pins PTC15 to PTC0. PCDR is
initialized to H'0000 by a power-on reset, but it retains its previous value by a manual reset, in
standby mode, or in sleep mode.
Bit Bit Name
Initial
Value R/W Description
15 PC15DT 0 R/W
14 PC14DT 0 R/W
13 PC13DT 0 R/W
12 PC12DT 0 R/W
11 PC11DT 0 R/W
10 PC10DT 0 R/W
9 PC9DT 0 R/W
8 PC8DT 0 R/W
7 PC7DT 0 R/W
6 PC6DT 0 R/W
5 PC5DT 0 R/W
4 PC4DT 0 R/W
3 PC3DT 0 R/W
2 PC2DT 0 R/W
1 PC1DT 0 R/W
0 PC0DT 0 R/W
Bits PC15DT to PC0DT correspond to pins PTC15 to
PTC0. When the pin function is general output port,
the value of the corresponding bit in PCDR is returned
directly by reading the port. When the function is
general input port, the corresponding pin level is read
by reading the port. Table 23.3 shows the function of
PCDR.