
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
The Analog/Digital Converter
User’s Manual
16-11
V2.2, 2004-01
ADC_X1, V2.1
16.2.1
Fixed Channel Conversion Modes
These modes are selected by programming the mode selection bitfield ADM to 00
B
(single conversion) or to 01
B
(continuous conversion). After starting the converter
through bit ADST the busy flag ADBSY will be set and the channel specified in bitfield
ADCH will be converted. After the conversion is complete, the interrupt request flag
ADCIR will be set.
In Single Conversion Mode the converter will automatically stop and reset bits ADBSY
and ADST.
In Continuous Conversion Mode the converter will automatically start a new
conversion of the channel specified in ADCH. ADCIR will be set after each completed
conversion.
When bit ADST is reset by software, while a conversion is in progress, the converter will
complete the current conversion and then stop and reset bit ADBSY.