|
|
|
Component
FreescaleAnalogComp
Analog comparator on Freescale derivates
Properties:
-
Component name - Name of the component.
-
Analog comparator - Analog comparator device
-
Interrupt service/event - The component may or may not be implemented using interrupts. If this property is set to "Enabled", the component functionality depends on the interrupt service and will not operate if the CPU interrupts are disabled. For details please refer to chapter "interrupt service in the component's generated code".
The following items are available only if the group is enabled (the value is "Enabled"):
-
Interrupt - Interrupt vector invoked from the comparator (for information only).
-
Interrupt priority - Priority of the interrupt associated with the comparator.
-
Positive input - Comparator's positive input properties.
-
Pin - Positive analog comparator input pin.
-
Signal - Signal name of the positive comparator input pin.
-
Settings only if ACMP supports muxed positive input.
-
Additional positive inputs - Group of the channels that could be used as positive input channel.
Channel 0 is defined by the item Positive input, which is the initial positive comparator input.
One Item of the list looks like:
Positive input1 - Comparator's positive input properties.
-
Pin - Positive analog comparator input pin.
-
Signal - Signal name of the positive comparator input pin.
-
Negative input - Comparator's negative input properties.
-
Pin - Negative analog comparator input pin.
-
Signal - Signal name of the negative comparator input pin
-
Settings only if ACMP supports muxed negative input.
-
Additional negative inputs - Group of the channels that could be used as negative input channel.
Channel 0 is defined by the item Negative input, which is the initial negative comparator input.
One Item of the list looks like:
Negative input1 - Comparator's negative input properties.
-
Pin - Negative analog comparator input pin.
-
Signal - Signal name of the negative comparator input pin
-
Comparator output - Comparator's output properties.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Pin - Analog comparator output pin.
-
Signal - Signal name of the analog comparator output pin
-
Settings only if comparator support filter bypassing.
-
Filter bypass - If enabled, Output filter is bypassed with following limitation. The windowing is not bypassed if one of window modes is selected in Filter mode property. If disabled, the output pin signal matches signal that invokes the OnCompare event.
-
Settings only if comparator support output filter.
-
Output filter - Enable/Disable the comparator output filter.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Settings only if comparator support windowed or filtered output.
-
Filter mode - Selects a filter mode.
There are 7 modes:
- Sampled, Non-Filtered (periph clock) - The comparator output is sampled by divided (Filter sample period property) peripheral clock. The following items are displayed in this mode:
-
Filter sample period - This item specifies the sampling period, in peripheral clock cycles, of the comparator output filter.
- Sampled, Non-Filtered (sample signal) - The comparator output is sampled by Sample signal (Window/Sample input property). The following items are displayed in this mode:
- Sampled, Filtered (periph clock) - The comparator output is sampled by divided (Filter sample period property) peripheral clock and filtered (Filter sample count property). The following items are displayed in this mode:
-
Filter sample count - This item represents the number of consecutive samples that must agree prior to the comparator output state.
-
Filter sample period - See previous modes for more details
- Sampled, Filtered (sample signal) - The comparator output is sampled by Sample signal (Window/Sample input property) and filtered (Filter sample count property). The following items are displayed in this mode:
- Windowed - The comparator output is clocked by the peripheral clock whenever Window signal is in high. The last latched value is held when Window signal is in low. See Sampled, Non-Filtered (sample signal) mode for items available in this mode.
- Windowed, Resampled - In comparison with the Windowed mode, the comparator output is resampled by divided (Filter sample period property) peripheral clock. The following items are displayed in this mode:
- Windowed, Filtered - In comparison with the Windowed mode, the comparator output is resampled by divided (Filter sample period property) peripheral clock and filtered (Filter sample count property). The following items are displayed in this mode:
-
Settings only if comparator support inverted output.
-
Inverted output - Enable/Disable optional inversion of the differential comparator output.
-
Analog comp. mode - Initial analog comparator mode (edge of analog comparator output to generate interrupt) .
There are 3 options:
- falling edge: Interrupt will be generated on comparator output falling edge.
- rising edge: Interrupt will be generated on comparator output rising edge.
- falling or rising edge: Interrupt will be generated on comparator output falling or rising edge.
-
Settings only if comparator support power save feature.
-
Power mode - This item sets speed and power consummation of analog comparator.
There are 2 options:
- Power saving: Power Savings Mode Selected.
- High speed: High Speed Comparison Mode Selected.
-
Settings only if comparator support Stop Mode Edge / Level Interrupt Control
-
Interrupt in Stop mode asserted by - This property defines flag assertion in STOP mode.
There are 2 options:
- Level: CFR/CFF are Level Sensitive in STOP mode. CFR will be asserted when COUT is high. CFF CFR/CFF are Level Sensitive in STOP mode. CFR will be asserted when COUT is high. CFF will be asserted when COUT is LOW
- Edge: CFR/CFF are Edge Sensitive in STOP mode. An active low-to-high transition must be seen on COUT to assert CFR, and an active high-to-low transition must be seen on COUT to assert CFF
-
Settings only if ACMP device support internal DAC (Programmable reference generator) subdevice.
-
DAC/PRG Settings - Programmable Reference Generator module settings
The following items are available only if the group is enabled (the value is "Enabled"):
-
Settings only if comparator has cooperative DAC module outside comparator.
-
DAC device - Periphery DAC that have to be allocated by this settings.
-
Settings only if DAC (PRG) support Voltage Reference input selection.
-
DAC/PRG Input Selection - Choose the input voltage of the PRG module.
There are 2 options:
- Vin2: Vin2 (Vdd25, internal regulated power supply) is set as the reference voltage for PRG module.
- Vin1: Vin1 (Vdd50, external power supply) is set as the reference voltage for PRG module.
-
DAC/PRG Output Selection - Choose the output voltage of the PRG module.
There are 32 options:
- 1/32 Vin: Output voltage for PRG module is 1/32 Vin.
- 2/32 Vin: Output voltage for PRG module is 2/32 Vin.
- 3/32 Vin: Output voltage for PRG module is 3/32 Vin.
- 4/32 Vin: Output voltage for PRG module is 4/32 Vin.
- 5/32 Vin: Output voltage for PRG module is 5/32 Vin.
- 6/32 Vin: Output voltage for PRG module is 6/32 Vin.
- 7/32 Vin: Output voltage for PRG module is 7/32 Vin.
- 8/32 Vin: Output voltage for PRG module is 8/32 Vin.
- 9/32 Vin: Output voltage for PRG module is 9/32 Vin.
- 10/32 Vin: Output voltage for PRG module is 10/32 Vin.
- 11/32 Vin: Output voltage for PRG module is 11/32 Vin.
- 12/32 Vin: Output voltage for PRG module is 12/32 Vin.
- 13/32 Vin: Output voltage for PRG module is 13/32 Vin.
- 14/32 Vin: Output voltage for PRG module is 14/32 Vin.
- 15/32 Vin: Output voltage for PRG module is 15/32 Vin.
- 16/32 Vin: Output voltage for PRG module is 16/32 Vin.
- 17/32 Vin: Output voltage for PRG module is 17/32 Vin.
- 18/32 Vin: Output voltage for PRG module is 18/32 Vin.
- 19/32 Vin: Output voltage for PRG module is 19/32 Vin.
- 20/32 Vin: Output voltage for PRG module is 20/32 Vin.
- 21/32 Vin: Output voltage for PRG module is 21/32 Vin.
- 22/32 Vin: Output voltage for PRG module is 22/32 Vin.
- 23/32 Vin: Output voltage for PRG module is 23/32 Vin.
- 24/32 Vin: Output voltage for PRG module is 24/32 Vin.
- 25/32 Vin: Output voltage for PRG module is 25/32 Vin.
- 26/32 Vin: Output voltage for PRG module is 26/32 Vin.
- 27/32 Vin: Output voltage for PRG module is 27/32 Vin.
- 28/32 Vin: Output voltage for PRG module is 28/32 Vin.
- 29/32 Vin: Output voltage for PRG module is 29/32 Vin.
- 30/32 Vin: Output voltage for PRG module is 30/32 Vin.
- 31/32 Vin: Output voltage for PRG module is 31/32 Vin.
- Vin: Output voltage for PRG module is Vin.
-
Initialization - Initial settings (after power-on or reset).
-
CPU clock/speed selection - Settings for the CPU speed modes: if the component is supported or not
For details about speed modes please refer to page Speed Modes Support.
|