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 LSI is provided with five 8-bit I/O ports, two 4-bit I/O ports, one 3-bit I/O port, one 8-bit
input-only port, one 1-bit input-only port, and one 6-bit output-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, and A are also used as liquid crystal display segment and common pins, selectable
in 4-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
4-bit I/O port
MOS input pull-up
option
Port 3
8-bit I/O port
MOS input pull-up
option
Large-current
2
port *
MOS open drain
output selectable
(only P3
5

Section 8 I/O Ports

Pins
P1
/
/TMIF
7
3
I R Q
1
*
P1
6
P1
/
/
4
4
I R Q
A D T R G
P1
/TMIG
3
P3
/AEVL
7
P3
/AEVH
6
P3
to P3
5
3
P3
, TMOFH
2
P3
, TMOFL
1
P3
/UD
0
)
Other Functions
External interrupt 3, timer
event input pin TMIF
None
External interrupt 4, A/D
converter external trigger
Timer G input capture
Asynchronous counter event
input pins AEVL, AEVH
None
Timer F output compare
output
Timer C count up/down
selection input
Rev. 7.00 Mar 10, 2005 page 193 of 652
Section 8 I/O Ports
Function
Switching
Registers
PMR1
TCRF
PMR1
AMR
PMR1
PMR2
PMR3
ECCR
PMR2
PMR3
PMR3
REJ09B0042-0700

Advertisement

Table of Contents
loading

Table of Contents