Functions | |
cy_en_syspm_status_t | Cy_SysPm_WriteVoltageBitForFlash (cy_en_syspm_flash_voltage_bit_t value) |
Function that changes the voltage setting for flash. More... | |
void | Cy_SysPm_SaveRegisters (cy_stc_syspm_backup_regs_t *regs) |
Saves non-retained UDB registers and the slow and fast clock dividers before system entering system Deep Sleep. More... | |
void | Cy_SysPm_RestoreRegisters (cy_stc_syspm_backup_regs_t const *regs) |
Restores non-retained UDB registers and the slow and fast clock dividers before system entering system Deep Sleep. More... | |
cy_en_syspm_status_t Cy_SysPm_WriteVoltageBitForFlash | ( | cy_en_syspm_flash_voltage_bit_t | value | ) |
Function that changes the voltage setting for flash.
value | Value to be set in the flash voltage control register. See cy_en_syspm_flash_voltage_bit_t. |
void Cy_SysPm_SaveRegisters | ( | cy_stc_syspm_backup_regs_t * | regs | ) |
Saves non-retained UDB registers and the slow and fast clock dividers before system entering system Deep Sleep.
Must be called if programmable logic or function are implemented in the UDB array.
Cypress ID #280370, #1451.
regs | The structure where the registers are saved. |
void Cy_SysPm_RestoreRegisters | ( | cy_stc_syspm_backup_regs_t const * | regs | ) |
Restores non-retained UDB registers and the slow and fast clock dividers before system entering system Deep Sleep.
Must be called if programmable logic or function are implemented in the UDB array.
Cypress ID #280370, #1451.
regs | The structure with data stored (using Cy_SysPm_SaveRegisters()) into the required registers after Deep Sleep. |