2.1.1.1 Functions

  • diag_result_t DIAG_CPU_Registers (void)

    Validates CPU registers for stuck bits and neighboring Coupling Faults. This diagnostic writes a checkerboard pattern and an inverse checkerboard pattern to the testable bits in the CPU registers (R0-R31), Status Register (SREG) and the Stack Pointer (SP). If an error is detected, the registers are restored before the test result is returned.