h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 613

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Bits 7 and 6—Timer Trigger Select 1 and 0 (TRGS1, TRGS0): These bits select enabling or
disabling of the start of A/D conversion by a trigger signal. Only set bits TRGS1 and TRGS0
while conversion is stopped.
Bits 5 to 0—Reserved: Should always be written 1.
Note: Some of these bits are readable/writable in products other than the HD64F2138,
19.2.4
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: Selects either analog input pin (AN6) or digital input pin (CIN0
to CIN7) for A/D converter channel 6 input. If digital input pins are selected, input on A/D
converter channel 7 will not be converted correctly.
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 7
TRGS1
0
1
Bit
Initial value
Read/Write
HD64F2134, HD64F2132R, HD6432132, and HD6432130, however, when writing, be
sure to write 1 here for software compatibility.
Keyboard Comparator Control Register (KBCOMP)
Bit 6
TRGS0
0
1
0
1
R/W
IrE
7
0
Description
Start of A/D conversion by external trigger is disabled
Start of A/D conversion by external trigger is disabled
Start of A/D conversion by external trigger (8-bit timer) is enabled
Start of A/D conversion by external trigger pin is enabled
IrCKS2
R/W
6
0
IrCKS1
R/W
5
0
IrCKS0
R/W
4
0
Rev. 4.00 Jun 06, 2006 page 559 of 1004
KBADE KBCH2
R/W
3
0
Section 19 A/D Converter
R/W
2
0
REJ09B0301-0400
KBCH1
R/W
1
0
(Initial value)
KBCH0
R/W
0
0

Related parts for h8s-2138