Datasheet
Section 10 I/O Ports
Rev. 6.00 Mar. 18, 2010 Page 340 of 982
REJ09B0054-0600
10.8.1 Port C Data Direction Register (PCDDR)
PCDDR specifies input or output the port C pins using the individual bits. PCDDR cannot be read;
if it is, an undefined value will be read. This register is a write-only register, and cannot be written
by bit manipulation instruction. For details, see section 2.9.4, Access Methods for Registers with
Write-Only Bits.
Bit Bit Name Initial Value R/W Description
7 PC7DDR 0 W
6 PC6DDR 0 W
5 PC5DDR 0 W
4 PC4DDR 0 W
3 PC3DDR 0 W
2 PC2DDR 0 W
1 PC1DDR 0 W
When a pin is specified as a general purpose I/O port,
setting this bit to 1 makes the corresponding port C
pin an output pin. Clearing this bit to 0 makes the pin
an input pin.
0 PC0DDR 0 W
10.8.2 Port C Data Register (PCDR)
PCDR stores output data for port C pins.
Bit Bit Name Initial Value R/W Description
7 PC7DR 0 R/W
6 PC6DR 0 R/W
5 PC5DR 0 R/W
4 PC4DR 0 R/W
3 PC3DR 0 R/W
2 PC2DR 0 R/W
1 PC1DR 0 R/W
Output data for a pin is stored when the pin is
specified as a general purpose output port.
0 PC0DR 0 R/W