Renesas H8S/2158 User Manual page 291

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

Advertisement

• P66/FTOB/CIN6/KIN6/CBLANK
The function of port 6 pins is switched as shown below according to the combination of 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.
CBOE
OEB
P66DDR
Pin function
P66 input pin
• P65/FTID/CIN5/KIN5/CSYNCI
The function of port 6 pins is switched as shown below according to the P65DDR bit.
When the ICIDE bit in TIER of FRT is set to 1, this pin can be used as the FTID input pin.
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'101, this pin can be used as the CIN5 input pin. When the KMIM5 bit
in KMIMR6 of the interrupt controller is cleared to 0, this pin can be used as the KIN5 input
pin. To use this pin as the KIN5 input pin, clear the P65DDR bit to 0. When the SIMOD1 and
SIMOD0 bits (IHI signal) in TCONRI of the timer connection are set to B'01, this pin can be
used as the CSYNCI input pin.
P65DDR
Pin function
• P64/FTIC/CIN4/KIN4/CLAMPO
The function of port 6 pins is switched as shown below according to the combination of the
CLOE bit in TCONRO of the timer connection and the P64DDR bit.
When the ICICE bit in TIER of FRT is set to 1, this pin can be used as the FTIC input pin.
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'100, this pin can be used as the CIN4 input pin. When the KMIM4 bit
in KMIMR6 of the interrupt controller is cleared to 0, this pin can be used as the KIN4 input
pin. To use this pin as the KIN4 input pin, clear the P64DDR bit to 0.
0
0
0
1
P66 output pin
CIN6 input pin/KIN6 input pin
0
P65 input pin
FTID input pin/CIN5 input pin/KIN5 input pin/CSYNCI input pin
Section 9 I/O Ports
1
FTOB output pin
1
P65 output pin
Rev. 3.00 Jan 25, 2006 page 237 of 872
1
CBLANK output
pin
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents