|
|
|
Component
Init_ACMP for COLDFIREV1
Freescale Analog Comparator (ACMP)
Properties:
-
Component name - Name of the component.
-
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.
-
Signal - Signal name of the pin
-
Negative Input - Negative comparator input group
-
Pin - Selection of the negative input pin.
-
Signal - Signal name of the 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.
-
Signal - Signal name 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. The routine must be implemented in the user code, it is not generated by Processor Expert. Find external prototypes of the ISRs in the component module header file.
-
Initialization - Initialization options of the module
-
Call Init method - The Init method of the component may be called after power-on or reset (in initialization code) by PE.
- yes The Init method is called by PE
- no The Init method is not called by PE, it should be called in user s code
-
Enable module - This item enables or disables the module.
This item modifies the ACME bit in the ACMPxSC register.
|