Freescale-
AnalogComp
 
Component FreescaleAnalogComp
Analog comparator on Freescale derivates
Component Level: Low
Events:
(Events are call-back functions called when an important event occurrs. Please see the Embedded Components page for more information.)
  • EventModule - Name of the user module (without extension), where the events from this component are placed.
  • OnCompare - This event is invoked when the edge specified by the Analog comp. mode property or by the SetAnalogComparatorMode method occurs on analog comparator output.
    This event is available only if the property Interrupt service/event is enabled.

      ANSIC prototype: void OnCompare(void)
    • Priority - Priority of the event routine. Default value is based on the interrupt priority defined in property Interrupt priority. For details see description below of the page.


For each generated event it is possible to set: