3.2.23.7 DIAG_SDADC_Operation
Returns the status of the SDADC_OPERATION diagnostic
DIAG_TEST_STATUS
DIAG_SDADC_Operation
(
DIAG_SADC_AIN ain, // for E18A ain and ain2 are the same analog input
DIAG_SADC_AIN ain2 // for E18A ain and ain2 are the same analog input
);
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
- ain1 - analog input 1
- ain2 - analog input 2 (used for multiplexor test)
Returns
- DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.
