Chapter 13 Analog-to-Digital Converter (ADC12B16CV1)
MC9S12XE-Family Reference Manual , Rev. 1.19
Freescale Semiconductor
517
Module Base + 0x0008
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
CMPE[15:0]
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 13-10. ATD Compare Enable Register (ATDCMPE)
Table 13-18. ATDCMPE Field Descriptions
Field
Description
15–0
CMPE[15:0]
Compare Enable for Conversion Number
n
(
n
= 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0) of a Sequence
— These bits enable automatic compare of conversion results individually for conversions of a sequence. The
sense of each comparison is determined by the CMPHT[
n
] bit in the ATDCMPHT register.
For each conversion number with CMPE[
n
]=1 do the following:
1) Write compare value to ATDDR
n
result register
2) Write compare operator with CMPHT[
n
] in ATDCPMHT register
CCF[
n
] in ATDSTAT2 register will flag individual success of any comparison.
0 No automatic compare
1 Automatic compare of results for conversion
n
of a sequence is enabled.
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:
S12XE
products
in
208
MAPBGA
packages