English
Language : 

HD6433937 Datasheet, PDF (145/521 Pages) Hitachi Semiconductor – Hardware Manual
Section 8 I/O Ports
8.1 Overview
The H8/3937 Series and H8/3937R Series are provided with six 8-bit I/O ports, two 4-bit I/O
ports, one 3-bit I/O port, and one 8-bit input-only port. Also provided are one internal 5-bit I/O
port and one internal 1-bit input-only port capable of interfacing to the on-chip FLEX™ decoder.
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.
Block diagrams of each port are given in Appendix C, I/O Port Block Diagrams
Table 8-1 Port Functions
Port Description
Pins and
Functions
Other Functions
Function
Switching
Registers
Port 1
• 8-bit I/O port
P17 to P15/IRQ3 to External interrupts 3 to 1
• MOS input pull-up option IRQ1/TMIF, TMIC Timer event interrupts
TMIF, TMIC
PMR1
TCRF,
TMC
P14/IRQ4/ADTRG External interrupt 4 and A/D PMR1,
converter external trigger
AMR
P13/TMIG
Timer G input capture input
P12, P11/
Timer F output compare
TMOFH, TMOFL output
PMR1
PMR1
Port 2*1 • 5-bit I/O internal port
P10/TMOW
P20/SCK1
P21/SI1
P22/SO1
P24, P23
Timer A clock output
PMR1
SCI1 data output (SO1), data
input (SI1), clock input/output
(SCK1)
None
PMR2
133