Section 8 I/O Ports
Rev. 3.00 Mar. 14, 2006 Page 215 of 804
REJ09B0104-0300
8.1.6
Open-Drain Control Register (PnODR) (n = 2)
ODR is an 8-bit readable/writable register that selects the open-drain output function.
If a bit in ODR is set to 1, the pin corresponding to that bit in ODR functions as an NMOS open-
drain output. If a bit in ODR is cleared to 0, the pin corresponding to that bit in ODR functions as
a CMOS output.
The initial value of ODR is H'00.
Note: The lower four bits are valid and the upper four bits are reserved for port 2 open drain control register (P2ODR).
7
Pn7ODR
0
R/W
6
Pn6ODR
0
R/W
5
Pn5ODR
0
R/W
4
Pn4ODR
0
R/W
3
Pn3ODR
0
R/W
0
Pn0ODR
0
R/W
2
Pn2ODR
0
R/W
1
Pn1ODR
0
R/W
Bit
Bit Name
Initial Value
R/W
8.1.7
Port H Realtime Input Data Register (PHRTIDR)
PHRTIDR stores the status of port H using pin
IRQ14
as a trigger. The detection method is
specified by the IRQ14SR and IRQ14SF bits in the IRQ sense control register H (ISCRH) and is
selected from a low level, a falling edge, a rising edge of pin, and both edges of pin
IRQ14
. For
details, see section 5.3.5, IRQ Sense Control Registers H and L (ISCRH and ISCRL).
7
PHRTIDR7
0
R
6
PHRTIDR6
0
R
5
PHRTIDR5
0
R
4
PHRTIDR4
0
R
3
PHRTIDR3
0
R
0
PHRTIDR0
0
R
2
PHRTIDR2
0
R
1
PHRTIDR1
0
R
Bit
Bit Name
Initial Value
R/W
electronic components distributor
Содержание H8SX series
Страница 2: ...Rev 3 00 Mar 14 2006 Page ii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 22: ...Rev 3 00 Mar 14 2006 Page xxii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 32: ...Rev 3 00 Mar 14 2006 Page xxxii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 38: ...Rev 3 00 Mar 14 2006 Page xxxviii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 845: ...Downloaded from Elcodis com electronic components distributor...
Страница 846: ...H8SX 1520 Group Hardware Manual Downloaded from Elcodis com electronic components distributor...