Section 8 I/O Ports; Overview; Table 8.1 Port Functions - Renesas H8/3847R Series Hardware Manual

8-bit single-chip microcomputer super low power
Table of Contents

Advertisement

8.1

Overview

The H8/3847R Group, H8/3847S Group and H8/38347 Group are provided with eight 8-bit I/O
ports, one 4-bit I/O port, one 3-bit I/O port, one 8-bit input-only port, one 4-bit input-only port,
and one 1-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.
Ports 5, 6, 7, 8, 9, and A are also used as liquid crystal display segment and common pins,
selectable in 8-bit units.
Block diagrams of each port are given in Appendix C, I/O Port Block Diagrams
Table 8.1
Port Functions
Port
Description
Port 1
• 8-bit I/O port
• MOS input pull-up
option
Port 2
• 8-bit I/O port
• Open-drain output
option
• Large-current port
(H8/3847R Group,
H8/38347 Group
and H8/38447
Group)

Section 8 I/O Ports

Pins
Other Functions
P1
to P1
/IRQ
to
External interrupts 3 to 1
7
5
3
IRQ
/TMIF, TMIC
Timer event interrupts
1
TMIF, TMIC
P1
/IRQ
/ADTRG External interrupt 4 and A/D
4
4
converter external trigger
P1
/TMIG
Timer G input capture input
3
P1
, P1
/
Timer F output compare output
2
1
TMOFH, TMOFL
P1
/TMOW
Timer A clock output
0
P2
/SCK
SCI1 data output (SO
0
1
P2
/SI
(SI
1
1
P2
/SO
2
1
P2
to P2
None
7
3
), data input
1
), clock input/output (SCK
1
Rev. 6.00 Aug 04, 2006 page 203 of 680
Section 8 I/O Ports
Function
Switching
Registers
PMR1,
TCRF,
TMC
PMR1,
AMR
PMR1
PMR1
PMR1
PMR2
)
1
REJ09B0145-0600

Advertisement

Table of Contents
loading

Table of Contents