h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 279

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.7.3
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 converter input pins (CIN7 to CIN0), and
external interrupt input pins (IRQ7, IRQ6). In the H8S/2138 Group, the port 6 input level can be
switched in four stages. The port 6 pin functions are shown in table 8.14.
Table 8.14 Port 6 Pin Functions
Pin
P67/TMOX/IRQ7/
KIN7/CIN7
P66/FTOB/IRQ6/
KIN6/CIN6
P65/FTID/KIN5/
CIN5
Pin Functions
Selection Method and Pin Functions
The pin function is switched as shown below according to the combination of
bits OS3 to OS0 in TCSR of TMRX and bit P67DDR.
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.
The pin function is switched as shown below according to the combination of
bit OEB in TOCR of the FRT and bit P66DDR.
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.
This pin can always be used as the FTID, KIN5, or CIN5 input pin.
OS3 to OS0
P67DDR
Pin function
OEB
P66DDR
Pin function
P65DDR
Pin function
P67 input pin
P66 input pin
P65 input pin
IRQ7 input pin, KIN7 input pin, CIN7 input pin
IRQ6 input pin, KIN6 input pin, CIN6 input pin
FTID input pin, KIN5 input pin, CIN5 input pin
0
0
0
All 0
0
Rev. 4.00 Jun 06, 2006 page 225 of 1004
P67 output pin
P66 output pin
1
1
P65 output pin
Section 8 I/O Ports
TMOX output pin
FTOB output pin
REJ09B0301-0400
1
Not all 0
1

Related parts for h8s-2138