3.2.2.5 DIAG_ADC_Interrupts
Returns the status of the ADC_INTERRUPT diagnostic
This function verifies correct operation of ADC interrupts. The interrupts include RESRDY, OVERRUN, and WINMON interrupts.
DIAG_TEST_STATUS
DIAG_ADC_Interrupts
(
DIAG_ADC_PERIPHS adc_periph
);
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
- adc_periph - enum value for which ADC peripheral to be tested
Returns
- DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.
