Download Print this page

Renesas M16C/50 Series User Manual page 661

Advertisement

M16C/5L Group, M16C/56 Group
24.2.5
A/D Control Register 1 (ADCON1)
A/D Control Register 1
b7
b6 b5 b4
b3
b2
0
If the ADCON1 register is rewritten during A/D conversion, the conversion result is undefined.
ADSTBY (A/D standby bit) (b5)
If the ADSTBY bit is changed from 0 (A/D operation stopped) to 1 (A/D operation enabled), wait for one
φ AD cycle or more before starting A/D conversion.
When the A/D converter is not used, no current flows in the A/D converter by setting the ADSTBY bit to
0 (A/D operation stopped: standby). This helps reduce power consumption.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Symbol
b0
b1
ADCON1
Bit Name
Bit Symbol
SCAN0
A/D sweep pin select bit
SCAN1
Reserved bit
(b2)
No register bit. If necessary, set to 0. The read value is undefined
(b3)
Frequency select bit 1
CKS1
A/D standby bit
ADSTBY
Reserved bit
(b7-b6)
Address
03D7h
Function
b1
b0
0
0: AN0 to AN1 (2 pins)
0
1: AN0 to AN3 (4 pins)
1
0: AN0 to AN5 (6 pins)
1
1: AN0 to AN7 (8 pins)
Set to 0
Refer to the CKS0 bit in the registers,
ADCON0 and AD1CON0
0 : A/D operation stopped (standby)
1 : A/ operation enabled
Set to 0
24. A/D Converter
Reset Value
0000 X000b
RW
RW
RW
RW
RW
RW
RW
Page 624 of 803

Advertisement

loading