English
Language : 

HD6433802H Datasheet, PDF (149/435 Pages) Hitachi Semiconductor – Single-Chip Microcomputer
Section 8 I/O Ports
8.1 Overview
The H8/3802 Series is provided with three 8-bit I/O ports, one 7-bit I/O port, one 4-bit I/O port,
one 3-bit I/O port, one 1-bit I/O port, one 4-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 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
Port 3
Description
• 7-bit I/O port
• MOS input pull-up
option
• Large-current port
Pins
P37/AEVL
P36/AEVH
P35, P34, P33
Port 4
Port 5
• 1-bit input port
• 3-bit I/O port
• 8-bit I/O port
• MOS input pull-up
option
P32, TMOFH
P31, TMOFL
P43/IRQ0
P42/TXD32
P41/RXD32
P40/SCK32
P57 to P50/
WKP7 to WKP0/
SEG8 to SEG1
Other Functions
Function
Switching
Registers
Asynchronous event counter PMR3
event inputs AEVL, AEVH
Timer F output compare
output
External interrupt 0
SCI3 data output (TXD32),
data input (RXD32), clock
input/output (SCK32)
Wakeup input (WKP7 to
WKP0), segment output
(SEG8 to SEG1)
PMR3
PMR2
SCR3
SMR
PMR5
LPCR
131