This test describes and shows an example of how to check the startup configuration registers:
1) Test digital clock configuration registers
2) Test analog configuration registers (set to default values after startup)
3) Test the GPIO configuration and HSIOM registers
Two test modes are implemented in the functions:
1) Store duplicates of startup configuration registers in nonvolatile storage after the device startup.
Periodically, the configuration registers are compared with the stored duplicates. Corrupted
registers can be restored from nonvolatile storage after checking.
2) Compare the calculated CRC with the CRC previously stored in nonvolatile storage if the CRC status
semaphore is set. If the status semaphore is not set, the CRC must be calculated and
stored in nonvolatile storage, and the status semaphore must be set.
API Reference | |
| Macros | |
| Functions | |