Section 9 I/O Ports
9.6.2
Port C Data Register (PCDR)
PCDR is an 8-bit readable/writable register that stores output data for the port C pins.
Bit
Bit Name
7
PC7DR
6
PC6DR
5
PC5DR
4
PC4DR
3
PC3DR
2
PC2DR
1
PC1DR
0
PC0DR
9.6.3
Port C Register (PORTC)
PORTC is an 8-bit read-only register that shows port C pin states.
PORTC cannot be modified.
Bit
Bit Name
7
PC7
6
PC6
5
PC5
4
PC4
3
PC3
2
PC2
1
PC1
0
PC0
Note:
* Determined by the states of pins PC7 to PC0.
Rev. 6.00 Mar 15, 2006 page 148 of 570
REJ09B0211-0600
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Initial Value
R/W
Undefined *
R
Undefined *
R
Undefined *
R
Undefined *
R
Undefined *
R
Undefined *
R
Undefined *
R
Undefined *
R
Description
Output data for a pin is stored when the pin is
specified as a general purpose I/O port.
Description
If a port C read is performed while PCDDR bits are
set to 1, the PCDR values are read. If a port C read
is performed while PCDDR bits are cleared to 0, the
pin states are read.