Renesas H8S/2158 User Manual page 297

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

• P61/FTOA/CIN1/KIN1/VSYNCO/SUSPEND
The function of port 6 pins is switched as shown below according to the combination of the
FADSEL bit in USBCR0 of USB, the VOE bit in TCONRO of the timer connection, the OEA
bit in TOCR of FRT, and the P61DDR 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'001, this pin can be used as the CIN1 input pin. When the KMIM1 bit
in KMIMR6 of the interrupt controller is cleared to 0, this pin can be used as the KIN1 input
pin. To use this pin as the KIN1 input pin, clear the P61DDR bit to 0.
FADSEL
VOE
OEA
P61DDR
Pin function
P61 input pin
• P60/FTCI/CIN0/KIN0/HFBACKI/SPEED
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 P60DDR bit.
When the CKS1 and CKS0 bits in TCR of FRT are both set to 1, this pin can be used as the
FTCI input pin. When the KBADE bit in KBCOMP of the A/D converter is set to 1 while the
KBCH2 to KBCH0 bits are cleared to B'000, this pin can be used as the CIN0 input pin. When
the KMIM0 bit in KMIMR6 of the interrupt controller is cleared to 0, this pin can be used as
the KIN0 input pin. To use this pin as the KIN0 input pin, clear the P60DDR bit to 0. When
the SIMOD1 and SIMOD0 bits (IHI signal) in TCONRI of the timer connection are cleared to
B'00, this pin can be used as the HFBACKI input pin.
FADSEL
P60DDR
Pin function
0
0
0
1
P61 output pin
CIN1 input pin/KIN1 input pin
0
0
P60 input pin
FTCI input pin/CIN0 input pin/KIN0 input pin/HFBACKI input pin
0
1
FTOA output
VSYNCO
pin
output pin
1
P60 output pin
Rev. 3.00 Jan 25, 2006 page 243 of 872
Section 9 I/O Ports
1
1
SUSPEND
output pin
1
SPEED output pin
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents