13.4 ADC0 Control Registers
13.4.1 ADC0CN0: ADC0 Control 0
Bit
7
6
5
4
3
2
1
0
Name
ADEN
ADBMEN
ADINT
ADBUSY
ADWINT
ADCM
Access
RW
RW
RW
RW
RW
RW
Reset
0
0
0
0
0
0x0
SFR Page = 0x0; SFR Address: 0xE8 (bit-addressable)
Bit
Name
Reset
Access
Description
7
ADEN
0
RW
ADC Enable.
Value
Name
Description
0
DISABLED
Disable ADC0 (low-power shutdown).
1
ENABLED
Enable ADC0 (active and ready for data conversions).
6
ADBMEN
0
RW
Burst Mode Enable.
Value
Name
Description
0
BURST_DISABLED
Disable ADC0 burst mode.
1
BURST_ENABLED
Enable ADC0 burst mode.
5
ADINT
0
RW
Conversion Complete Interrupt Flag.
Set by hardware upon completion of a data conversion (ADBMEN=0), or a burst of conversions (ADBMEN=1). Can trigger
an interrupt. Must be cleared by firmware.
4
ADBUSY
0
RW
ADC Busy.
Writing 1 to this bit initiates an ADC conversion when ADCM = 000. This bit should not be polled to indicate when a conver-
sion is complete. Instead, the ADINT bit should be used when polling for conversion completion.
3
ADWINT
0
RW
Window Compare Interrupt Flag.
Set by hardware when the contents of ADC0H:ADC0L fall within the window specified by ADC0GTH:ADC0GTL and
ADC0LTH:ADC0LTL. Can trigger an interrupt. Must be cleared by firmware.
2:0
ADCM
0x0
RW
Start of Conversion Mode Select.
Specifies the ADC0 start of conversion source. All remaining bit combinations are reserved.
Value
Name
Description
0x0
ADBUSY
ADC0 conversion initiated on write of 1 to ADBUSY.
0x1
TIMER0
ADC0 conversion initiated on overflow of Timer 0.
0x2
TIMER2
ADC0 conversion initiated on overflow of Timer 2.
0x3
TIMER3
ADC0 conversion initiated on overflow of Timer 3.
0x4
CNVSTR
ADC0 conversion initiated on rising edge of CNVSTR.
EFM8SB2 Reference Manual
Analog-to-Digital Converter (ADC0)
silabs.com
| Smart. Connected. Energy-friendly.
Rev. 0.1 | 137