English
Language : 

HD64F3687HV Datasheet, PDF (143/538 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Tiny Series
Section 9 I/O Ports
Section 9 I/O Ports
The group of this LSI has forty-five general I/O ports (forty-three general I/O ports in the
H8/3687N) and eight general input-only ports. Port 6 is a large current port, which can drive 20
mA (@VOL = 1.5 V) when a low level signal is output. Any of these ports can become an input
port immediately after a reset. They can also be used as I/O pins of the on-chip peripheral modules
or external interrupt input pins, and these functions can be switched depending on the register
settings. The registers for selecting these functions can be divided into two types: those included
in I/O ports and those included in each on-chip peripheral module. General I/O ports are
comprised of the port control register for controlling inputs/outputs and the port data register for
storing output data and can select inputs/outputs in bit units.
For functions in each port, see appendix B.1, I/O Port Block Diagrams. For the execution of bit-
manipulation instructions to the port control register and port data register, see section 2.8.3, Bit
Manipulation Instruction.
9.1 Port 1
Port 1 is a general I/O port also functioning as IRQ interrupt input pins, an RTC output pin, a 14-
bit PWM output pin, a timer B1 input pin, and a timer V input pin. Figure 9.1 shows its pin
configuration.
Port 1
P17/IRQ3/TRGV
P16/IRQ2
P15/IRQ1/TMIB1
P14/IRQ0
P12
P11/PWM
P10/TMOW
Figure 9.1 Port 1 Pin Configuration
Port 1 has the following registers.
• Port mode register 1 (PMR1)
• Port control register 1 (PCR1)
• Port data register 1 (PDR1)
• Port pull-up control register 1 (PUCR1)
Rev.5.00 Nov. 02, 2005 Page 109 of 500
REJ09B0027-0500