|
|
|
Component
Init_ACMP for RS08
Freescale Analog Comparator (ACMP)
Device Initialization
(Description of the component parameters.)
-
Device - Selection of the ACMP device module.
-
Settings - Common ACMP module settings.
-
Comparator mode - Comparator mode select the flag setting mode that controls the type of compare event that sets the ACF bit.
This item modifies the ACMOD[1:0] bits in the ACMPxSC register.
-
Pins - Module pins/signals settings.
-
Positive Input - Positive comparator input group
-
Pin - Selection of the positive input pin.
This item modifies the ACBGS bit in the ACMPxSC register.
-
Negative Input - Negative comparator input group
-
Pin - Selection of the negative input pin.
-
Settings supported for Freescale HCS08 DE, DN, DV, DZ, EL, EN, IB, JM, LH, LL, QA, QB, QE, QG, SG, SH and SV and RS08 and ColdFireV1 derivatives only.
-
Comparator output - Enable/disable the comparator output to be placed onto the external pin. This item modifies ACOPE bit in the ACMPxSC.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Pin - Selection of the analog comparator output pin.
-
Interrupts - Interrupts settings of the module
-
Compare event - Compare event interrupt settings.
-
Settings only if CPU supports interrupts
-
Interrupt - Interrupt vector (for information only)
-
Settings only if CPU supports interrup priority.
-
Priority - Priority of the compare event interrupt.
-
Compare event interrupt - Enable/disable interrupt generated when a compare event occurs. The compare event is defined by the "Comparator mode" property.
This item modifies the ACIE bit in the ACMPxSC register.
-
Settings only if CPU supports interrupts
-
ISR name - Name of the interrupt service routine (ISR) invoked by this interrupt vector.
The user code of the routine should handle all respective interrupt flags correctly.
-
Initialization - Initialization options of the module
-
Enable module - This item enables or disables the module.
This item modifies the ACME bit in the ACMPxSC register.
|