English
Language : 

MC68HC908JG16 Datasheet, PDF (249/324 Pages) Motorola, Inc – Microcontrollers
Analog-to-Digital Converter (ADC)
Interrupts
13.4.4 Continuous Conversion
In the continuous conversion mode, the ADC continuously converts the
selected channel filling the ADC data register with new data after each
conversion. Data from the previous conversion will be overwritten
whether that data has been read or not. Conversions will continue until
the ADCO bit is cleared. The conversion complete bit, COCO, in the
ADC status and control register is set after each conversion and can be
cleared by writing to the ADC status and control register or reading of the
ADC data register.
13.4.5 Accuracy and Precision
The conversion process is monotonic and has no missing codes.
13.5 Interrupts
When the AIEN bit is set, the ADC module is capable of generating a
CPU interrupt after each ADC conversion. A CPU interrupt is generated
if the COCO bit is at logic 0. The COCO bit is not used as a conversion
complete flag when interrupts are enabled. The interrupt vector is
defined in Table 2-1 . Vector Addresses.
13.6 Low-Power Modes
The WAIT and STOP instructions can put the MCU in low-power
consumption standby modes.
13.6.1 Wait Mode
The ADC continues normal operation during wait mode. Any enabled
CPU interrupt request from the ADC can bring the MCU out of wait
mode. If the ADC is not required to bring the MCU out of wait mode,
power down the ADC by setting the ADCH[4:0] bits in the ADC status
and control register to logic 1’s before executing the WAIT instruction.
MC68HC908JG16 — Rev. 1.1
Freescale Semiconductor
Analog-to-Digital Converter (ADC)
Technical Data
249