3.2.2.2 DIAG_ADC_Disable

Returns the status of ADC_DISABLE diagnostic

This function disables the peripheral, then verifies that it has been disabled.

DIAG_TEST_STATUS 
DIAG_ADC_Disable
(
    DIAG_ADC_PERIPHS adc_periph
);

Diagnostic verifies the following faults do not exist

  • ADC will not turn off

Operating Mode

  • Interface can be used at POST and ‘On Demand’
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.