|
|
|
Component
Capture
Timer capture encapsulation
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.
-
BeforeNewSpeed
- This event is called when the CPU speed mode is being changed (using CPU methods) - before the change. The event is enabled only if speed modes are supported in the target CPU component (more than one speed mode).
ANSIC prototype: void BeforeNewSpeed(void)
-
AfterNewSpeed
- This event is called when the CPU speed mode is being changed (using CPU methods) - after the change. The event is enabled only if speed modes are supported in the target CPU component (more than one speed mode).
ANSIC prototype: void AfterNewSpeed(void)
-
OnCapture
- This event is called on capturing of Timer/Counter actual value (only when the component is enabled - Enable and the events are enabled - EnableEvent.This event is available only if a interrupt service/event is enabled.
ANSIC prototype: void OnCapture(void)
- Priority - OnCapture priority. Default value is based on the interrupt priority defined in property Capture priority. For details see description below of the page.
- Events for Freescale 56800, HCS12(X), HCS08, CFV1, HC08, MCF derivatives.
-
OnOverflow
- This event is called if counter overflows (only when the component is enabled - Enable and the events are enabled - EnableEvent.This event is available only if a interrupt service/event is enabled.
ANSIC prototype: void OnOverflow(void)
- Priority - OnOverflow priority. Default value is based on the interrupt priority defined in property Capture priority. For details see description below of the page.
For each generated event it is possible to set:
|