3.2.23.5 DIAG_SDADC_Interrupts

Returns the status of the SDADC_INTERRUPT diagnostic

This function verifies correct operation of SDADC interrupts. Tests shall include the RESRDY, OVERRUN and WINMON interrupts.

DIAG_TEST_STATUS 
DIAG_SDADC_Interrupts
(
    DIAG_SADC_AIN ain
);

Diagnostic verifies the following faults do not exist

  • No interrupts generated
  • Interrupt cannot be cleared

Operating Mode

  • Interface can be used at POST
Precondition
  • none

Parameters

  • ain - analog input

Returns

  • DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.