English
Language : 

K60P100M100SF2RM Datasheet, PDF (815/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Field
31–8
Reserved
7
ADACT
6
ADTRG
5
ACFE
4
ACFGT
3
ACREN
2
DMAEN
1–0
REFSEL
Chapter 34 Analog-to-Digital Converter (ADC)
ADCx_SC2 field descriptions
Description
This read-only field is reserved and always has the value zero.
Conversion active
ADACT 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.
Conversion trigger select
ADTRG selects the type of trigger used for initiating a conversion. Two types of trigger are selectable:
software trigger and hardware trigger. When software trigger is selected, a conversion is initiated following
a write to SC1A. 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.
Compare function enable
ACFE enables the compare function.
0 Compare function disabled.
1 Compare function enabled.
Compare function greater than enable
ACFGT configures the compare function to check the conversion result relative to the compare value
register(s) (CV1 and CV2) based upon the value of ACREN. The ACFE bit 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 the CV1 and CV2 registers.
1 Configures greater than or equal to threshold, outside range inclusive and inside range inclusive
functionality based on the values placed in the CV1 and CV2 registers.
Compare function range enable
ACREN configures the compare function to check if the conversion result of the input being monitored is
either between or outside the range formed by the compare value registers (CV1 and CV2) determined by
the value of ACFGT. The ACFE bit must be set for ACFGT to have any effect.
0 Range function disabled. Only the compare value 1 register (CV1) is compared.
1 Range function enabled. Both compare value registers (CV1 and CV2) are compared.
DMA enable
0 DMA is disabled.
1 DMA is enabled and will assert the ADC DMA request during a ADC conversion complete event noted
by the assertion of any of the ADC COCO flags.
Voltage reference selection
REFSEL bits select the voltage reference source used for conversions.
Table continues on the next page...
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
815