2.1.2.2 DIAG_INT_FrequencyGetResult()
diag_result_t DIAG_INT_FrequencyGetResult (diag_int_id_t intId)
Returns the required interrupt frequency diagnosis. The result is set to DIAG_UNDEFINED after returning PASS or FAIL to ensure that the latest result from the diagnostic is returned.
in | intId |
- ID of the interrupt for which test status is to be obtained |
User must call DIAG_INT_FrequencyIsResultReady function to determine if diagnosis result is ready. |
DIAG_PASS - When Interrupt Frequency diagnosis is completed with no fault DIAG_FAIL - When a fault is detected during Interrupt Frequency diagnosis DIAG_INVALID_ARG - Invalid input arguments when calling the function DIAG_UNDEFINED - Result not ready |