h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 645

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
21.3.4
KBCOMP selects the CIN input channel for which A/D conversion is performed and enables or
disables the comparator scan function of CIN7 to CIN0.
Legend:
x:
Bit
7
6
5
4
3
2
1
0
Don’t care
Bit Name
IrE
IrCKS2
IrCKS1
IrCKS0
KBADE
KBCH2
KBCH1
KBCH0
Keyboard Comparator Control Register (KBCOMP)
Initial Value
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
These bits are related to the SCI. For details, refer to
section 15.3.10, Keyboard Comparator Control Register
(KBCOMP).
Selects whether channels 6 and 7 of the A/D converter
are used as analog pins or digital pins, in combination
with the KBCH2 to KBCH0 bits. For details, refer to
description for bits 2 to 0. Analog pins of the A/D
converter are set to digital pins (CIN0 to CIN7 and CIN8
to CIN15).
Keyboard A/D Channel Select 2 to 0
These bits select a channel of digital input pins for A/D
conversion, in combination with the KBADE bit. The
input channel setting must be made while conversion is
halted.
0xxx: Selects AN6
1000: Selects CIN0
1001: Selects CIN1
1010: Selects CIN2
1011: Selects CIN3
1100: Selects CIN4
1101: Selects CIN5
1110: Selects CIN6
1111: Selects CIN7
Description
Keyboard A/D Enable (AN6, AN7)
Channel 6
Rev. 3.00 Mar 21, 2006 page 591 of 788
Channel 7
AN7
CIN8
CIN9
CIN10
CIN11
CIN12
CIN13
CIN14
CIN15
Section 21 A/D Converter
REJ09B0300-0300

Related parts for h8s-2161b