English
Language : 

HD64F3687GHV Datasheet, PDF (165/566 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 9 I/O Ports
Section 9 I/O Ports
This LSI has 47 general I/O ports and 8 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. 3.00 Sep. 10, 2007 Page 131 of 528
REJ09B0216-0300