Pin Functions - Renesas F-ZTAT H8 Series Hardware Manual

8-bit single-chip microcomputer
Hide thumbs Also See for F-ZTAT H8 Series:
Table of Contents

Advertisement

8.3.3

Pin Functions

H8/3857 Group port 2 pin functions are shown in figure 8.6 (a), and H8/3854 Group port 2 pin
functions in figure 8.6 (b).
Table 8.6 (a)
H8/3857 Group Port 2 Pin Functions
Pin
Pin Functions and Selection Method
P2
to P2
Input or output is selected as follows by the bit settings in PCR2.
7
2
PCR2n
Pin function
Note:
P2
/UD
The pin function depends on bit UD in PMR2 and bit PCR2
1
UD
PCR2
Pin function
P2
/IRQ
/ADTRG The pin function depends on bit IRQ4 in PMR2, bit TRGE in AMR, and bit
0
4
PCR2
IRQ4
PCR2
TRGE
Pin function
Note: When using as ADTRG input pin, clear bit IEN4 in IENR1 to 0, disabling
Legend: * Don't care
P2
n = 7 to 2
0
1
P2
input pin
1
in PCR2.
0
0
0
P2
input pin
0
IRQ
interrupts.
4
0
input pin
n
0
1
P2
output pin
1
0
1
*
output pin IRQ
P2
0
Rev.3.00 Jul. 19, 2007 page 187 of 532
8. I/O Ports
1
P2
output pin
n
in PCR2.
1
1
*
UD input pin
1
*
0
1
input pin IRQ
/ADTRG
4
4
input pin
REJ09B0397-0300

Advertisement

Table of Contents
loading

Table of Contents