Functions | |
| uint8_t | SelfTests_StartUp_ConfigReg (void) |
| This function call checks the configuration registers by comparing the value stored in nonvolatile storage with the current configuration registers value. | |
| cy_en_flashdrv_status_t | SelfTests_Save_StartUp_ConfigReg (void) |
| This function stores the configuration registers to nonvolatile storage. | |
| uint8_t SelfTests_StartUp_ConfigReg | ( | void | ) |
This function call checks the configuration registers by comparing the value stored in nonvolatile storage with the current configuration registers value.
If the values are different, the function returns a fail.
| cy_en_flashdrv_status_t SelfTests_Save_StartUp_ConfigReg | ( | void | ) |
This function stores the configuration registers to nonvolatile storage.
Used only if STARTUP_CFG_REGS_MODE == CFG_REGS_TO_FLASH_MODE.
This function must be called once after the initial PSOC power up and initialization before entering the main program. Do not call it periodically or after runtime configuration changes that should be detected by the startup-register self-test, because it overwrites the nonvolatile baseline used by SelfTests_StartUp_ConfigReg.