Download Print this page

Renesas M16C/50 Series User Manual page 658

Advertisement

M16C/5L Group, M16C/56 Group
24.2.3
A/D Control Register 2 (ADCON2)
A/D Control Register 2
b7
b6 b5 b4
b3
b2
b1
0
0
If the ADCON2 register is rewritten during A/D conversion, the conversion result is undefined.
CKS3 (fAD select bit) (b7)
Set the CKS3 bit while A/D conversion is stopped.
Set the CKS3 bit, and then set other A/D converter related registers. Also, after changing the CKS3 bit,
set the A/D converter related registers again. Note that bits in the ADCON2 register and the CKS3 bit
can be set simultaneously.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
b0
Symbol
ADCON2
Bit Symbol
Bit Name
No register bit. If necessary, set to 0. The read value is undefined.
(b0)
ADGSEL0
A/D input group select bit
ADGSEL1
No register bit. If necessary, set to 0. The read value is undefined.
(b3)
CKS2
Frequency select bit 2
Reserved bits
(b6-b5)
fAD select bit
CKS3
Address
03D4h
Function
b2
b1
0
0 : AN0 to AN7
AN3_0 to AN3_2
0
1 :
1
0 : AN0_0 to AN0_7
1
1 : AN2_0 to AN2_7
Refer to the CKS0 bit in the ADCON0
register.
Set to 0
0: f1
1: fOCO40M
24. A/D Converter
Reset Value
0000 X00Xb
RW
RW
RW
RW
RW
RW
Page 621 of 803

Advertisement

loading