Hi,
I've contacted the Processor Expert team.
See below their answer:
++++++++++++++++++++++++++++
The interrupt service routine of Capture component is not directly available for user. When you enable Interrupt service/event of the Capture component the OnCapture event (Cap1_OnCapture) is generated into Event.c program module of your project (see the attached screenshot OnCapture event.png). This event is called from the interrupt service routine that is available (code if generated by Processor Expert) in the Cap1.c program module:
ISR(Cap1_Interrupt)
{
/* TFLG1: C7F=0,C6F=0,C5F=0,C4F=0,C3F=0,C2F=0,C1F=0,C0F=1 */
TFLG1 = 0x01U; /* Reset interrupt request flag */
Cap1_OnCapture(); /* Invoke user event */
}
I.e. you can see the the Cap1_OnCapture event (function) is a part of interrupt service routine.
Please, use the Cap1_OnCapture event of the Capture component in your project.
++++++++++++++++++++++++++++
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------