Datasheet
Section 10 I/O Ports
R01UH0309EJ0500 Rev. 5.00 Page 551 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
10.2.4 Port 2 Open Drain Control Register (P2ODR)
P2ODR specifies the output type of each port 2 pin.
Bit Bit Name Initial Value R/W Description
7 P27ODR 0 R/W
6 P26ODR 0 R/W
5 P25ODR 0 R/W
Setting a P2ODR bit to 1 makes the corresponding
pin an NMOS open-drain output pin, while clearing
a P2ODR bit to 0 makes the corresponding pin a
CMOS output pin.
4 ⎯ 0 ⎯
3 ⎯ 0 ⎯
2 ⎯ 0 ⎯
1 ⎯ 0 ⎯
Bits 4 to 1 are reserved.
When written, the initial value should be written to.
0 P20ODR 0 R/W Setting a P2ODR bit to 1 makes the corresponding
pin an NMOS open-drain output pin, while clearing a
P2ODR bit to 0 makes the corresponding pin a
CMOS output pin.