5.3.1 Functions

  • diag_result_t DIAG_CPU_RegisterResetStateCheckGetResult (void)

    Returns the result of the CPU register Reset state check diagnosis.

  • void DIAG_CPU_RegisterResetStateCheck (void)

    Validates the Reset state for all CPU control and status registers.  

    It helps detect incorrect Reset or default states of individual bits or registers. If the Reset state of any register is incorrect, the function reinitializes the register with the correct default value. The return value is a simple PASS/FAIL result.