|
楼主 |
发表于 2014-10-21 20:52:42
|
显示全部楼层
24.3.4.3 Aborting conversions
Any conversion in progress is aborted in the following cases:
• A write to ADC_SC1 occurs.
• The current conversion will be aborted and a new conversion will be initiated, if
ADC_SC1[ADCH] are not all 1s and ADC_SC4[AFDEP] are all 0s.
• The current conversion and the rest of conversions will be aborted and no new
conversion will be initialed, if ADC_SC4[AFDEP] are not all 0s.
• A new conversion will be initiated when the FIFO is re-fulfilled upon the levels
indicated by the ADC_SC4[AFDEP] bits).
• A write to ADC_SC2, ADC_SC3, ADC_SC4, ADC_CV occurs. This indicates a
mode of operation change has occurred and the current and rest of conversions (when
ADC_SC4[AFDEP] are not all 0s) are therefore invalid.
• The MCU is reset.
• The MCU enters Stop mode with ADACK not enabled.
When a conversion is aborted, the contents of the data register, ADC_R, are not altered.
However, they continue to be the values transferred after the completion of the last
uccessful conversion. If the conversion was aborted by a reset, ADC_R returns to their
eset states. |
|