Section 8 I/O Ports; Overview - Renesas H8 Series Hardware Manual

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

Advertisement

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
Port 1
5-bit I/O port
Input pull-up
MOS selectable
Port 2
3-bit I/O port
Port 3
3-bit I/O port
Input pull-up
MOS selectable
Port 5
8-bit I/O port
Input pull-up
MOS

Section 8 I/O Ports

Pins
Other Functions
P1
/IRQ
/TRGV
External interrupt 3, timer
7
3
V trigger input
P1
to P1
/
6
5
IRQ
to IRQ
External interrupts 2 and 1
2
1
P1
/PWM
14-bit PWM output
4
P1
/TMOW
Timer A clock output
0
P2
/TxD
SCI3 data output
2
P2
/RxD
SCI3 data input
1
P2
/SCK
SCI3 clock input/output
0
1
P3
/SO
SCI1 data output (SO
2
1
data input (SI
P3
/SI
1
1
input/output (SCK
P3
/SCK
0
1
P5
/INT
INT interrupt 7
7
7
P5
/INT
/
INT interrupt 6
6
6
TMIB
Timer B1 event input
P5
/INT
/
INT interrupt 5
5
5
ADTRG
A/D converter external
trigger input
P5
to P5
/
INT interrupts 4 to 0
4
0
INT
to INT
4
0
Function Switching
Register
PMR1
PMR1
PMR1
PMR7
SCR3
SCR3, SMR
),
PMR3
1
), clock
1
)
1
Rev. 6.00 Sep 12, 2006 page 169 of 526
Section 8 I/O Ports
REJ09B0326-0600

Advertisement

Table of Contents
loading

Table of Contents