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

8-bit single-chip microcomputer h8 family/h8/300l super low power series
Hide thumbs Also See for H8/38024:
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
/IRQ
/TMIF
7
3
1
*
P1
6
P1
/IRQ
/ADTRG
4
4
P1
/TMIG
3
P3
/AEVL
7
P3
/AEVH
6
P3
to P3
5
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
3
Timer F output compare
output
Timer C count up/down
selection input
Function
Switching
Registers
PMR1
TCRF
PMR1
AMR
PMR1
PMR2
PMR3
ECCR
PMR2
PMR3
PMR3
Rev. 6.00, 08/04, page 187 of 628

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/38024f-ztatH8/38124H8/38024s

Table of Contents