English
Language : 

HD6473837H Datasheet, PDF (148/562 Pages) Renesas Technology Corp – Hardware Manual
Section 8 I/O Ports
8.1 Overview
The H8/3834 Series is 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 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 double as liquid crystal display segment pins and common pins. The
choice of pin functions can be made in 4-bit groupings.
Block diagrams of each port are given in Appendix C, I/O Port Block Diagrams.
Table 8.1 Port Functions
Port
Port 1
Description
• 8-bit I/O port
• Input pull-up MOS
option
Pins
P17 to P15/
IRQ3 to IRQ1/
TMIF, TMIC,
TMIB
Other Functions
External interrupts 3 to 1
Timer event input TMIF, TMIC,
TMIB
Port 2
• 8-bit I/O port
• Open drain output
option
• High-current port
P14/PWM
14-bit PWM output
P13/TMIG
Timer G input capture
P12, P11/
Timer F output compare
TMOFH, TMOFL
P10/TMOW
P27 to P22
P21/UD
Timer A clock output
None
Timer C count-up/down selection
P20/IRQ4/
ADTRG
External interrupt 4 and A/D
converter external trigger
Function
Switching
Register
PMR1
TCRF,
TMC,
TMB
PMR1
PMR1
PMR1
PMR1
PMR2
PMR2
AMR
131