3.2.3 DIAG_BANDGAP

The DIAG_BANDGAP module is designed to verify the correct functionality of the Bandgap through a set of C function calls.

The DIAG_BANDGAP software test API is mapped to the following safety mechanisms:

Table 3-4. 
FunctionDiagnostic MechanismUse CaseElapsed Time (μs)~
DIAG_BANDGAP_ReferenceVoltage()BANDGAP_REFERENCE_VOLTAGEPOST / OnDemand43.04

Configuring the Diagnostic

DIAG_BANDGAP does not require additional configuration.

Using the Diagnostic

#include "definitions.h" 

DIAG_TEST_STATUS DIAG_BANDGAP_Post()
{         
    return DIAG_BANDGAP_ReferenceVoltage(); 
}