XC886/888CLM
Analog-to-Digital Converter
User’s Manual
16-12
V1.3, 2010-02
ADC, V 1.0
Figure 16-5
Multi-Stage Queue
The automatic refill feature can be activated (RF = 1) to allow automatic re-insertion of
the pending request into the queue stage after a successful execution (conversion start).
Otherwise, the pending request will be discarded once it is executed. While the
automatic refill feature is enabled, software should not write data to the queue input
register.
The write address in which to enter a conversion request is given by the write-only queue
input register (QINR0). If there is still an empty stage (V=0) in the queue, the written
value will be stored there (bit V becomes set), or else the write action is ignored. In the
event that a requested conversion is aborted after its start, its setting is stored in the
backup register (bit V becomes set).
Refer to
for description of the sequential request source registers.
ADC_seq_reqsrc_flow
queue stage 0 (CHNR, RF, ENSI)
start of
conversion
backup stage (CHNR, RF, ENSI)
V
V
abort of
conversion
OR
se
t
re
se
t
queue stage 1
V
queue stage q-1
V
intermediate queue stages
queue input register
1
data written
by CPU
w
rh
rh
*