3.1.2.3.3 DIAG_Timer1GateCutomInterruptHandler()

void DIAG_Timer1GateCutomInterruptHandler (void )

This API is called from the Timer1 Gate ISR from where the API updates the period value of the reference line frequency signal. Based on whether the Timer overflow has occurred, it computes the period value. The pulse found flag is set in the ISR. This is entered only when the test status is test_in_progress. Once the 10 values are updated, the code will stop saving the value of the pulses and exit the ISR. This is done by limiting the pointer to TESTEND.

Note:

The API is set as the pointer function for Timer1_Gate_ISR for the Clock Line Frequency Diagnostic Test to work as expected.

Parameters:
None
Returns:

None