
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
The Analog/Digital Converter
User’s Manual
16-16
V2.2, 2004-01
ADC_X1, V2.1
Arbitration of Conversions
Conversion requests that are activated while the ADC is idle immediately trigger the
respective conversion. If a conversion is requested while another conversion is currently
in progress the operation of the A/D converter depends on the kind of the involved
conversions (standard or injected).
Note: A conversion request is activated if the respective control bit (ADST or ADCRQ)
is toggled from 0 to 1, i.e. the bit must have been zero before being set.
summarizes the ADC operation in the possible situations.
Table 16-2
Conversion Arbitration
Conversion
in Progress
New Requested Conversion
Standard
Injected
Standard
Abort running conversion,
and start requested new
conversion.
1)
1) If an injected conversion is pending when a standard conversion is re-started, the injected conversion is
executed before the newly started standard conversion.
Complete running conversion,
start requested conversion after that.
Injected
Complete running conversion,
start requested conversion after
that.
Complete running conversion,
start requested conversion after that.
Bit ADCRQ will be 0 for the second
conversion, however.