English
Language : 

K60P100M100SF2RM Datasheet, PDF (830/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Functional description
34.4.3 Voltage reference selection
The ADC can be configured to accept one of the two voltage reference pairs as the
reference voltage (VREFSH and VREFSL) used for conversions. Each pair contains a
positive reference that must be between the minimum Ref Voltage High and VDDA, and a
ground reference that must be at the same potential as VSSA. The two pairs are external
(VREFH and VREFL) and alternate (VALTH and VALTL). These voltage references are
selected using the REFSEL bits in the SC2 register. The alternate (VALTH and VALTL)
voltage reference pair may select additional external pins or internal sources depending
on MCU configuration. Refer to the Chip Configuration information on the Voltage
References specific to this MCU.
34.4.4 Hardware trigger and channel selects
The ADC module has a selectable asynchronous hardware conversion trigger, ADHWT,
that is enabled when the ADTRG bit is set and a hardware trigger select event
(ADHWTSn) has occurred. This source is not available on all MCUs. Refer to the Chip
Configuration chapter for information on the ADHWT source and the ADHWTSn
configurations specific to this MCU.
When a ADHWT source is available and hardware trigger is enabled (ADTRG=1), a
conversion is initiated on the rising edge of ADHWT after a hardware trigger select event
(ADHWTSn) has occurred. If a conversion is in progress when a rising edge of a trigger
occurs, the rising edge is ignored. In continuous convert configuration, only the initial
rising edge to launch continuous conversions is observed, and until conversion gets
aborted the ADC continues to do conversions on the same ADC status and control
register that initiated the conversion. The hardware trigger function operates in
conjunction with any of the conversion modes and configurations.
The hardware trigger select event (ADHWTSn) must be set prior to the receipt of the
ADHWT signal. If these conditions are not met, the converter may ignore the trigger or
use the incorrect configuration. If a hardware trigger select event gets asserted during a
conversion, it must stay asserted until the end of current conversion and remain set until
the receipt of the ADHWT signal to trigger a new conversion. The channel and status
fields selected for the conversion depend on the active trigger select signal (ADHWTSA
active selects SC1A; ADHWTSn active selects SC1n).
Note
Asserting more than one hardware trigger select signal
(ADHWTSn) at the same time results in unknown results. To
avoid this, select only one hardware trigger select signal
(ADHWTSn) prior to the next intended conversion.
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
830
Freescale Semiconductor, Inc.