English
Language : 

HD64F2149 Datasheet, PDF (671/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
20.2.4 Keyboard Comparator Control Register (KBCOMP)
Bit
7
6
5
4
3
2
1
0
IrE IrCKS2 IrCKS1 IrCKS0 KBADE KBCH2 KBCH1 KBCH0
Initial value 0
0
0
0
0
0
0
0
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
KBCOMP is an 8-bit readable/writable register that controls the SCI2 IrDA function and selects
the CIN input channels for A/D conversion.
KBCOMP is initialized to H'00 by a reset and in hardware standby mode.
Bits 7 to 4—IrDA Control: See the description in section 15.2.11, Keyboard Comparator Control
Register (KBCOMP).
Bit 3—Keyboard A/D Enable (KBADE): Selects either analog input pins (AN6, AN7) or digital
input pins (CIN0 to CIN7, CIN8 to CIN15) for A/D converter channel 6 and channel 7 input.
Bits 2 to 0—Keyboard A/D Channel Select 2 to 0 (KBCH2 to KBCH0): These bits select the
channels for A/D conversion from among the digital input pins. Only set the input channel while
A/D conversion is stopped.
Bit 3
KBADE
0
1
Bit 2
KBCH2
—
0
1
Bit 1
KBCH1
—
0
1
0
1
Bit 0
KBCH0
—
0
1
0
1
0
1
0
1
A/D Converter
Channel 6 Input
AN6
CIN0
CIN1
CIN2
CIN3
CIN4
CIN5
CIN6
CIN7
A/D Converter
Channel 7 Input
AN7
CIN8
CIN9
CIN10
CIN11
CIN12
CIN13
CIN14
CIN15
637