R01UH0136EJ0210 Rev.2.10
Page 622 of 800
Jul 31, 2012
M16C/64A Group
27. A/D Converter
27.2.4
A/D Control Register 2 (ADCON2)
If the ADCON2 register is rewritten during A/D conversion, the conversion result is undefined.
ADGSEL1-ADGSEL0 (A/D input group select bit) (b2-b1)
Pins AN0_0 to AN0_7 are used as analog input pins even if bits PM01 to PM00 in the PM0 register are
set to 01b (memory expansion mode) and bits PM05 to PM04 are 11b (multiplexed bus is allocated to
the entire
CS
space).
b7
0
0
b6 b5 b4
b1
b2
b3
Symbol
ADCON2
Address
03D4h
Reset Value
0000 X00Xb
b0
Function
Bit Symbol
Bit Name
RW
A/D Control Register 2
—
(b0)
No register bit. If necessary, set to 0. The read value is undefined.
—
b2 b1
0 0 : AN0 to AN7
0 1 : Do not set
1 0 : AN0_0 to AN0_7
1 1 : AN2_0 to AN2_7
A/D input group select bit
ADGSEL0
RW
ADGSEL1
RW
—
(b3)
No register bit. If necessary, set to 0. The read value is undefined.
—
RW
CKS2
Refer to the CKS0 bit in the ADCON0
register.
Frequency select bit 2
—
(b7-b5)
RW
Set to 0
Reserved bits
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...