2.1.2.2 DIAG_INT_FrequencyGetResult()

diag_result_t DIAG_INT_FrequencyGetResult (diag_int_id_t intId)

Returns the result frequency diagnosis for the required interrupt. The result is set to DIAG_UNDEFINED after returning PASS or FAIL to ensure that the latest result from the diagnostic is returned.

Precondition:

Call the DIAG_INT_FrequencyIsResultReady function to determine if the diagnosis result is ready.

Parameters:
in intId

- ID of the interrupt for which test status is to be obtained

Returns:

DIAG_PASS - Success  

DIAG_FAIL - Failure  

DIAG_INVALID_ARG - Invalid input arguments when calling the function  

DIAG_UNDEFINED - Result not ready