mcf51jf128 Freescale Semiconductor, Inc, mcf51jf128 Datasheet - Page 662

no-image

mcf51jf128

Manufacturer Part Number
mcf51jf128
Description
Mcf51jf128 Reference Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf51jf128VLH
Manufacturer:
MITSUBISHI
Quantity:
321
Part Number:
mcf51jf128VLH
Manufacturer:
FREESCALE
Quantity:
5 097
Part Number:
mcf51jf128VLH
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51jf128VLH
Manufacturer:
FREESCALE
Quantity:
5 097
Functional description
With the ADC range enable bit set, ADCREN =1, and if compare value register 1 (CV1
value) is less than or equal to the compare value register 2 (CV2 value), then setting
ACFGT will select a trigger-if-inside-compare-range inclusive-of-endpoints function.
Clearing ACFGT will select a trigger-if-outside-compare-range, not-inclusive-of-
endpoints function.
If CV1 is greater than CV2, setting ACFGT will select a trigger-if-outside-compare-
range, inclusive-of-endpoints function. Clearing ACFGT will select a trigger-if-inside-
compare-range, not-inclusive-of-endpoints function.
If the condition selected evaluates true, COCO is set.
Upon completion of a conversion while the compare function is enabled, if the compare
condition is not true, COCO is not set and the conversion result data will not be
transferred to the result register. If the hardware averaging function is enabled, the
compare function compares the averaged result to the compare values. The same compare
function definitions apply. An ADC interrupt is generated upon the setting of COCO if
the respective ADC interrupt is enabled (AIEN=1).
662
ACFGT
0
0
1
1
The compare function can monitor the voltage on a channel
while the MCU is in Wait or Normal Stop modes. The ADC
interrupt wakes the MCU when the compare condition is met.
Table 29-61. Compare modes (continued)
ACREN
MCF51JF128 Reference Manual, Rev. 2, 03/2011
1
1
1
1
ADCCV1 relative to
Less than or equal
Less than or equal
Preliminary
Greater than
Greater than
ADCCV2
Note
Outside range, not
inclusive
Inside range, not
inclusive
Inside range, inclusive
Outside range,
inclusive
Function
Freescale Semiconductor, Inc.
Compare true if the
result is less than CV1
Or the result is greater
than CV2.
Compare true if the
result is less than CV1
And the result is
greater than CV2.
Compare true if the
result is greater than or
equal to CV1 And the
result is less than or
equal to CV2.
Compare true if the
result is greater than or
equal to CV1 Or the
result is less than or
equal to CV2.
Compare mode
description

Related parts for mcf51jf128