English
Language : 

HD64F2149 Datasheet, PDF (258/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
8.7.3 Pin Functions
Port 6 pins also function as the 16-bit free-running timer (FRT) I/O pins (FTOA, FTOB, FTIA to
FTID, FTCI), timer X (TMRX) I/O pins (TMOX, TMIX), the timer Y (TMRY) input pin (TMIY),
timer connection I/O pins (HFBACKI, VSYNCI, VSYNCO, VFBACKI, CLAMPO), key-sense
interrupt input pins (KIN7 to KIN0), expansion A/D input pins (CIN7 to CIN0), and interrupt
input pins (IRQ7, IRQ6). The port 6 input level can be switched in four stages. The port 6 pin
functions are shown in table 8.13.
Table 8.13 Port 6 Pin Functions
Pin
Selection Method and Pin Functions
P67/TMOX/IRQ7/ The pin function is switched as shown below according to the combination of
KIN7/CIN7
bits OS3 to OS0 in TCSR of TMRX and bit P67DDR.
OS3 to OS0
All 0
Not all 0
P67DDR
0
1
—
Pin function P67 input pin
P67 output pin
TMOX output pin
IRQ7 input pin, KIN7 input pin, CIN7 input pin
This pin is used as the IRQ7 input pin when bit IRQ7E is set to 1 in IER.
It can always be used as the KIN7 or CIN7 input pin.
P66/FTOB/IRQ6/
KIN6/CIN6
The pin function is switched as shown below according to the combination of
bit OEB in TOCR of the FRT and bit P66DDR.
OEB
0
1
P66DDR
0
1
—
Pin function P66 input pin
P66 output pin
FTOB output pin
IRQ6 input pin, KIN6 input pin, CIN6 input pin
This pin is used as the IRQ6 input pin when bit IRQ6E is set to 1 in IER.
It can always be used as the KIN6 or CIN6 input pin.
P65/FTID/KIN5/
CIN5
P65DDR
0
1
Pin function
P65 input pin
P65 output pin
FTID input pin, KIN5 input pin, CIN5 input pin
This pin can always be used as the FTID, KIN5, or CIN5 input pin.
224