1 Introduction
Test Name: CPU_REGISTER_RESET_STATE_CHECK
Software Requirement ID SW_CPU_REGISTER_RESET_STATE_CHECK_01
Purpose of test: Check of registers at start-up.
Description: This diagnostic API performs an initialization-time check of the default value (expected Reset state) of all CPU control and status registers.
It detects incorrect reset or default states of individual bits or registers. If the Reset state of any register is incorrect, the function re-initializes the register with its correct default value. The return value is a PASS/FAIL result. CPU registers considered for RESET state check are:
-
STATUS
-
WREG
-
FSR0H
-
FSR0L
-
FSR1H
-
FSR1L
-
INTCONNote:API Documentation: CPU Registers Reset State Check
The AoUs listed in the Assumption of Use page shall be followed to ensure correct operation of the diagnostic APIs.