Software Requirement Reference ID : SW_CPU_REGISTER_TEST_01.
This API validates CPU Registers for Stuck Bits and Coupling Faults.
- Step-1: The content of the register is pushed to stack,
- Step-2: The register is set to a known value (e.g. 0xAA) and verified (e.g. 0xAA),
- Step-3: The register bits are forced to change state (by writing 0x55) and the register content is verified once more \n
diag_cpu_result_t DIAG_CPU_Registers(
void
)
diag_cpu_result_t | DIAG_CPU_REGISTERS_PASS, DIAG_CPU_REGISTERS_FAIL |