h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 292

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 9 I/O Ports
Single-Chip Mode:
Rev. 3.00 Jan 25, 2006 page 240 of 872
REJ09B0286-0300
FADSEL
P67DDR
Pin function
FADSEL
CBOE
OEB
P66DDR
Pin function
P67/CIN7/KIN7/DPLS
The function of port 6 pins is switched as shown below according to the combination of the
FADSEL bit in USBCR0 of USB and the P67DDR bit.
When the KBADE bit in KBCOMP of the A/D converter is set to 1 while the KBCH2 to
KBCH0 bits are set to B'111, this pin can be used as the CIN7 input pin. When the KMIM7 bit
in KMIMR6 of the interrupt controller is cleared to 0, this pin can be used as the KIN7 input
pin. To use this pin as the KIN7 input pin, clear the P67DDR bit to 0.
P66/FTOB/CIN6/KIN6/CBLANK/DMNS
The function of port 6 pins is switched as shown below according to the combination of the
FADSEL bit in USBCR0 of USB, the CBOE bit in TCONRO of the timer connection, the
OEB bit in TOCR of FRT, and the P66DDR bit.
When the KBADE bit in KBCOMP of the A/D converter is set to 1 while the KBCH2 to
KBCH0 bits are set to B'110, this pin can be used as the CIN6 input pin. When the KMIM6 bit
in KMIMR6 of the interrupt controller is cleared to 0, this pin can be used as the KIN6 input
pin. To use this pin as the KIN6 input pin, clear the P66DDR bit to 0.
P66 input pin
P67 input pin
0
0
0
P66 output pin
0
1
CIN7 input pin/KIN7 input pin
CIN6 input pin/KIN6 input pin
0
0
P67 output pin
FTOB output
pin
1
1
output pin
CBLANK
1
DPLS input pin
DMNS input
1
pin
1

Related parts for h8s-2158