English
Language : 

MC912DG128ACPVE Datasheet, PDF (369/478 Pages) Freescale Semiconductor, Inc – Upward compatible with M68HC11 instruction set
Freescale Semiconductor, Inc.
Analog-to-Digital Converter
Modes of Operation
19.3 Modes of Operation
Analog to digital conversions are performed in a variety of different
programmable sequences referred to as conversion modes. Each
conversion mode is defined by:
• How many A/D conversions (one, four or eight) are performed in
a sequence
• Which analog input channels are examined during a sequence
• The sample time length
• Whether sequences are performed continuously or not
• Result register assignments
The modes are defined by the settings of three control bits (in ATDCTL5)
• MULT controls whether the sequence examines a single analog
input channel or scans a number of different channels
• SCAN determines if sequences are performed continuously
• SC determines if we are performing a special conversion i.e.
converting VRL, VRH, (VRL+VRH)/2 (usually used for test purposes).
and three control values
• CC/CB/CA (in ATDCTL5) define the input channel(s) to be
examined
• S8C/S1C (in ATDCTL3/5) define the number of conversions in a
sequence
• SMP0/SMP1 (in ATDCTL4) define the length of the sample time.
Sequences are initiated or halted by writing to control registers
ATDCTL4 and ATDCTL5.
For the continuous sequence modes, conversions will not stop until
• Another non-continuous conversion sequence is initiated and
finishes
• The ATD is powered down (ADPU control bit)
• The ATD is reset
MC68HC912DT128A — Rev 4.0
MOTOROLA
Analog-to-Digital Converter
For More Information On This Product,
Go to: www.freescale.com
Technical Data
369