Datasheet
Section 9 I/O Ports
Rev. 3.00 Sep. 10, 2007 Page 166 of 528
REJ09B0216-0300
9.9.2 Port Data Register C (PDRC)
PDRC is a general I/O port data register of port C.
Bit Bit Name
Initial
Value
R/W Description
7 to 2 Reserved
1
0
PC1
PC0
0
0
R/W
R/W
These bits store output data for port C pins.
If PDRC is read while PCRC bits are set to 1, the value
stored in PDRC is read. If PDRC is read while PCRC bits
are cleared to 0, the pin states are read regardless of the
value stored in PDRC.
9.9.3 Pin Functions
The correspondence between the register specification and the port functions is shown below.
PC1/OSC2/CLKOUT pin
Register CKCSR PCRC
Bit Name PMRC1 PMRC0 PCRC1 Pin Function
0 PC1 input pin 0
1 PC1 output pin
0
1 x Open
0 x CLKOUT output pin
Setting value
1
1 x OSC2 oscillation pin
[Legend] x: Don't care.
PC0/OSC1 pin
Register CKCSR PCRC
Bit Name PMRC0 PCRC0 Pin Function
0 PC0 input pin 0
1 PC0 output pin
Setting value
1 x OSC1 oscillation pin
[Legend] x: Don't care.










