ADCx_SC2 field descriptions
Field
Description
31–8
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
7
ADACT
Conversion Active
Indicates that a conversion or hardware averaging is in progress. ADACT is set when a conversion is
initiated and cleared when a conversion is completed or aborted.
0
Conversion not in progress.
1
Conversion in progress.
6
ADTRG
Conversion Trigger Select
Selects the type of trigger used for initiating a conversion. Two types of trigger are selectable:
• Software trigger: When software trigger is selected, a conversion is initiated following a write to
SC1A.
• Hardware trigger: When hardware trigger is selected, a conversion is initiated following the assertion
of the ADHWT input after a pulse of the ADHWTSn input.
0
Software trigger selected.
1
Hardware trigger selected.
5
ACFE
Compare Function Enable
Enables the compare function.
0
Compare function disabled.
1
Compare function enabled.
4
ACFGT
Compare Function Greater Than Enable
Configures the compare function to check the conversion result relative to the CV1 and CV2 based upon
the value of ACREN. ACFE must be set for ACFGT to have any effect.
0
Configures less than threshold, outside range not inclusive and inside range not inclusive; functionality
based on the values placed in CV1 and CV2.
1
Configures greater than or equal to threshold, outside and inside ranges inclusive; functionality based
on the values placed in CV1 and CV2.
3
ACREN
Compare Function Range Enable
Configures the compare function to check if the conversion result of the input being monitored is either
between or outside the range formed by CV1 and CV2 determined by the value of ACFGT. ACFE must be
set for ACFGT to have any effect.
0
Range function disabled. Only CV1 is compared.
1
Range function enabled. Both CV1 and CV2 are compared.
2
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
REFSEL
Voltage Reference Selection
Selects the voltage reference source used for conversions.
00
Default voltage reference pin pair, that is, external pins V
REFH
and V
REFL
01
Alternate reference pair, that is, V
ALTH
and V
ALTL
. This pair may be additional external pins or
internal sources depending on the MCU configuration. See the chip configuration information for
details specific to this MCU
Table continues on the next page...
Memory map and register definitions
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
352
Freescale Semiconductor, Inc.