8. I/O Ports
Rev.3.00 Jul. 19, 2007 page 188 of 532
REJ09B0397-0300
Table 8.6 (b)
H8/3854 Group Port 2 Pin Functions
Pin
Pin Functions and Selection Method
P2
7
to P2
1
Input or output is selected as follows by the bit settings in PCR2.
PCR2n
0
1
Pin
function
P2
n
input pin
P2
n
output pin
Note:
n = 7 to 1
P2
0
/
IRQ
4
/
ADTRG
The pin function depends on bit IRQ4 in PMR2, bit TRGE in AMR, and bit
PCR2
0
in PCR2.
IRQ4
0
1
PCR2
0
0
1
*
TRGE
*
0
1
Pin
function
P2
0
input pin P2
0
output pin
IRQ
4
input pin
IRQ
4
/
ADTRG
input pin
Note: When using as
ADTRG
input pin, clear bit IEN4 in IENR1 to 0, disabling
IRQ
4
interrupts.
Legend:
*
Don't care
8.3.4 Pin
States
H8/3857 Group port 2 pin states in each operating mode are shown in table 8.7 (a), and H8/3854
Group port 2 pin states in each operating mode in table 8.7 (b).
Table 8.7 (a)
H8/3857 Group Port 2 Pin States
Pins Reset
Sleep
Subsleep
Standby Watch
Subactive
Active
P2
7
to P2
2
P2
1
/UD
P2
0
/
IRQ
4
/
ADTRG
High-
impedance
Retains
previous
state
Retains
previous
state
High-
impedance
Retains
previous
state
Functional
Functional
Table 8.7 (b)
H8/3854 Group Port 2 Pin States
Pins Reset
Sleep
Subsleep
Standby Watch
Subactive
Active
P2
7
to P2
1
P2
0
/
IRQ
4
/
ADTRG
High-
impedance
Retains
previous
state
Retains
previous
state
High-
impedance
Retains
previous
state
Functional
Functional
Содержание F-ZTAT H8 Series
Страница 6: ...Rev 3 00 Jul 19 2007 page iv of xxiv REJ09B0397 0300...
Страница 194: ...7 RAM Rev 3 00 Jul 19 2007 page 168 of 532 REJ09B0397 0300...
Страница 234: ...8 I O Ports Rev 3 00 Jul 19 2007 page 208 of 532 REJ09B0397 0300...
Страница 274: ...9 Timers Rev 3 00 Jul 19 2007 page 248 of 532 REJ09B0397 0300...
Страница 352: ...12 A D Converter Rev 3 00 Jul 19 2007 page 326 of 532 REJ09B0397 0300...
Страница 466: ...16 Electrical Characteristics H8 3854 Group Rev 3 00 Jul 19 2007 page 440 of 532 REJ09B0397 0300...
Страница 561: ......