2.1.2.3 DIAG_Timer1GateCustomInterruptHandler()
void DIAG_Timer1GateCustomInterruptHandler (void )
Computes the period value, if the timer overflow has occurred. This routine is called from theTimer1 Gate Interrupt Service Routine (ISR), where the Clock Line Frequency Diagnostic Test API updates the period value of the reference line frequency signal. The Pulse Found flag is setin the ISR and entered once the test is in progress. Once the ten values are updated, the code will stop saving the value of the pulses and exit the ISR.
None. |
None. |
Note:
The API is set as the pointer function for Timer1_Gate_ISR so that the Clock Line Frequency Diagnostic Test works.