1.1 CPU Register Reset State Check
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 helps detect incorrect reset or default states of individual bits or registers. If the Reset state of any register is found incorrect, the function re-initializes the register with its correct default value. The return value is a simple PASS/FAIL result.
- CPU registers considered for RESET state check are:
- STATUS
- WREG
- FSR0H
- FSR0L
- FSR1H
- FSR1L
- INTCON
API Documentation: SW_CPU_REGISTER_RESET_STATE_CHECK_01
