3.2.2.7 DIAG_ADC_Operation
Returns the status of the ADC_OPERATION diagnostic
This function verifes correct operation.
DIAG_TEST_STATUS
DIAG_ADC_Operation
(
DIAG_ADC_PERIPHS adc_periph
);
Diagnostic verifies the following faults do not exist
- Clock prescalar error
- Input mulitplexor error
-
Gain error
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.
