
Section 8 I/O Ports
Rev. 6.00 Sep 12, 2006 page 169 of 526
REJ09B0326-0600
Section 8 I/O Ports
8.1 Overview
The H8/3644 Group is provided with three 8-bit I/O ports, three 5-bit I/O ports, two 3-bit I/O
ports, and one 8-bit input-only port. Table 8.1 indicates the functions of each port.
Each port has of a port control register (PCR) that controls input and output, and a port data
register (PDR) for storing output data. Input or output can be assigned to individual bits.
See section 2.9.2, Notes on Bit Manipulation, for information on executing bit-manipulation
instructions to write data in PCR or PDR.
Block diagrams of each port are given in appendix C, I/O Port Block Diagrams.
Table 8.1
Port Functions
Port
Description
Pins
Other Functions
Function Switching
Register
Port 1
•
5-bit I/O port
•
Input pull-up
MOS selectable
P1
7
/
IRQ
3
/TRGV
P1
6
to P1
5
/
IRQ
2
to
IRQ
1
External interrupt 3, timer
V trigger input
External interrupts 2 and 1
PMR1
P1
4
/PWM
14-bit PWM output
PMR1
P1
0
/TMOW
Timer A clock output
PMR1
Port 2
•
3-bit I/O port
P2
2
/TxD
SCI3 data output
PMR7
P2
1
/RxD
SCI3 data input
SCR3
P2
0
/SCK
1
SCI3 clock input/output
SCR3, SMR
Port 3
•
3-bit I/O port
•
Input pull-up
MOS selectable
P3
2
/SO
1
P3
1
/SI
1
P3
0
/SCK
1
SCI1 data output (SO
1
),
data input (SI
1
), clock
input/output (SCK
1
)
PMR3
Port 5
•
8-bit I/O port
P5
7
/
INT
7
INT interrupt 7
•
Input pull-up
MOS
P5
6
/
INT
6
/
TMIB
INT interrupt 6
Timer B1 event input
P5
5
/
INT
5
/
ADTRG
INT interrupt 5
A/D converter external
trigger input
P5
4
to P5
0
/
INT
4
to
INT
0
INT interrupts 4 to 0
Содержание F-ZTAT H8/3642A Series
Страница 6: ...Rev 6 00 Sep 12 2006 page iv of xx ...
Страница 8: ...Rev 6 00 Sep 12 2006 page vi of xx ...
Страница 21: ...Rev 6 00 Sep 12 2006 page xix of xx Appendix E Product Code Lineup 522 Appendix F Package Dimensions 524 ...
Страница 22: ...Rev 6 00 Sep 12 2006 page xx of xx ...
Страница 124: ...Section 5 Power Down Modes Rev 6 00 Sep 12 2006 page 102 of 526 REJ09B0326 0600 ...
Страница 188: ...Section 6 ROM Rev 6 00 Sep 12 2006 page 166 of 526 REJ09B0326 0600 ...
Страница 190: ...Section 7 RAM Rev 6 00 Sep 12 2006 page 168 of 526 REJ09B0326 0600 ...
Страница 298: ...Section 9 Timers Rev 6 00 Sep 12 2006 page 276 of 526 REJ09B0326 0600 ...
Страница 378: ...Section 12 A D Converter Rev 6 00 Sep 12 2006 page 356 of 526 REJ09B0326 0600 ...
Страница 446: ...Section 13 Electrical Characteristics Rev 6 00 Sep 12 2006 page 424 of 526 REJ09B0326 0600 ...