English
Language : 

MC68HC16Z1CAG16 Datasheet, PDF (194/500 Pages) Freescale Semiconductor, Inc – M68HC16Z Series users manual
Freescale Semiconductor, Inc.
8.7.5.1 Conversion Parameters
Table 8-5 describes the conversion parameters controlled by bits in ADCTL1.
Table 8-5 Conversion Parameters Controlled by ADCTL1
Conversion Parameter
Conversion channel
Length of sequence
Single or continuous conversion
Single or multiple channel conversion
Description
The value of the channel selection field (CD:CA) in ADCTL1 determines
which multiplexer inputs are used in a conversion sequence. There are
16 possible inputs. Seven inputs are external pins (AN[6:0]), and nine
are internal.
A conversion sequence consists of either four or eight conversions. The
number of conversions in a sequence is determined by the state of the
S8CM bit in ADCTL1.
Conversion can be limited to a single sequence or a sequence can be
performed continuously. The state of the SCAN bit in ADCTL1 deter-
mines whether single or continuous conversion is performed.
Conversion sequence(s) can be run on a single channel or on a block of
four or eight channels. Channel conversion is controlled by the state of
the MULT bit in ADCTL1.
8.7.5.2 Conversion Modes
Conversion modes are defined by the state of the SCAN, MULT, and S8CM bits in
ADCTL1. Table 8-6 shows mode numbering.
Table 8-6 ADC Conversion Modes
SCAN
0
0
0
0
1
1
1
1
MULT
0
0
1
1
0
0
1
1
S8CM
0
1
0
1
0
1
0
1
Mode
0
1
2
3
4
5
6
7
The following paragraphs describe each type of conversion mode:
Mode 0 — A single four-conversion sequence is performed on a single input channel
specified by the value in CD:CA. Each result is stored in a separate result register
(RSLT0 to RSLT3). The appropriate CCF bit in ADCSTAT is set as each register is
filled. The SCF bit in ADCSTAT is set when the conversion sequence is complete.
Mode 1 — A single eight-conversion sequence is performed on a single input channel
specified by the value in CD:CA. Each result is stored in a separate result register
(RSLT0 to RSLT7). The appropriate CCF bit in ADCSTAT is set as each register is
filled. The SCF bit in ADCSTAT is set when the conversion sequence is complete.
ANALOG-TO-DIGITAL CONVERTER
M68HC16 Z SERIES
8-8
For More Information On This Product,
USER’S MANUAL
Go to: www.freescale.com