Datasheet
Section 9 I/O Ports
Rev. 1.50 Sep. 18, 2007 Page 185 of 584
REJ09B0240-0150
9.13.2 Port Data Register J (PDRJ)
PDRJ is a general I/O port data register of port J.
Bit Bit Name
Initial
Value R/W Description
7 to 2 Reserved
1
0
PJ1
PJ0
0
0
R/W
R/W
PDRJ stores output data for port J pins.
If PDRJ is read while PCRJ bits are set to 1, the values
stored in PDRJ are read. If PDRJ is read while PCRJ
bits are cleared to 0, the pin states are read regardless
of the value stored in PDRJ.
9.13.3 Pin Functions
The correspondence between the register specification and the port functions is shown below.
• PJ1/OSC2/CLKOUT pin
Register CKCSR PCRJ
Bit Name PMRJ1 PMRJ0 PCRJ1 Pin Function
Setting Value 0 X 0 PJ1 input pin
1 PJ1 output pin
1 0 X CLKOUT output pin
1 X OSC2 output pin
[Legend] X: Don't care.
• PJ0/OSC1 pin
Register CKCSR PCRJ
Bit Name PMRJ0 PCRJ0 Pin Function
Setting Value 0 0 PJ0 input pin
1 PJ0 output pin
1 X OSC1 input pin
[Legend] X: Don't care.










