Datasheet
Section 10 I/O Ports
R01UH0309EJ0500 Rev. 5.00 Page 683 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
10.17.3 Port J Register (PORTJ)
PORTJ shows the pin states of port J. PORTJ cannot be modified.
Bit Bit Name Initial Value R/W Description
7 to 3 ⎯ Undefined ⎯ Reserved
If these bits are read, they will return an undefined
value.
2 PJ2 ⎯* R The pin state is always read from this register.
1
0
PJ1
PJ0
⎯*
⎯*
R
R
If this register is read, the PJDR values are read for
the bits with the corresponding PJDDR bits set to 1.
For the bits with the corresponding PJDDR bits
cleared to 0, the pin states are read.
Note: * Determined by the state of pins PJ0 to PJ2.
10.17.4 Port J Open Drain Control Register (PJODR)
PJODR specifies the output type of each port J pin.
Bit Bit Name Initial Value R/W Description
7 to 2 ⎯ All 0 ⎯ Reserved
These bits are always read as 0. Only the initial
values should be written to these bits.
1
0
PJ1ODR
PJ0ODR
0
0
R/W
R/W
Setting a PJODR bit to 1 makes the corresponding
pin an NMOS open-drain output pin, while clearing
a PJODR bit to 0 makes the corresponding pin a
CMOS output pin.