Functions | |
bool | Cy_SysPm_IoIsFrozen (void) |
Checks whether IOs are frozen. More... | |
void | Cy_SysPm_IoUnfreeze (void) |
This function unfreezes the I/O cells that are automatically frozen when Hibernate is entered with the call to Cy_SysPm_SystemEnterHibernate(). More... | |
void | Cy_SysPm_IoFreeze (void) |
Freezes IOs. More... | |
bool | Cy_SysPm_DeepSleepIoIsFrozen (void) |
Checks whether IOs are frozen during DEEPSLEEP-RAM/OFF. More... | |
void | Cy_SysPm_DeepSleepIoUnfreeze (void) |
This function unfreezes the I/O cells that are automatically frozen when DEEPSLEEP-RAM/OFF is entered. More... | |
bool Cy_SysPm_IoIsFrozen | ( | void | ) |
Checks whether IOs are frozen.
void Cy_SysPm_IoUnfreeze | ( | void | ) |
This function unfreezes the I/O cells that are automatically frozen when Hibernate is entered with the call to Cy_SysPm_SystemEnterHibernate().
I/O cells remain frozen after a wakeup from Hibernate mode until the firmware unfreezes them by calling this function.
If the firmware must retain the data value on the pin, then the value must be read and re-written to the pin's port data register before calling this function. Furthermore, the drive mode must be re-programmed before the pins are unfrozen. If this is not done, the pin will change to the default state the moment the freeze is removed.
Note that I/O cell configuration can be changed while frozen. The new configuration becomes effective only after the pins are unfrozen.
void Cy_SysPm_IoFreeze | ( | void | ) |
Freezes IOs.
Freezes the IO cells directly to save the IO-cell state on a wakeup from the Hibernate. Do not call this function before entering the Hibernate mode, because Cy_SysPm_Hibernate() function freezes the IO cells.
Freezes the IO cells directly to save the IO-cell state on a wakeup from the Hibernate. Do not call this function before entering the Hibernate mode, because Cy_SysPm_Hibernate() function freezes the IO cells.
bool Cy_SysPm_DeepSleepIoIsFrozen | ( | void | ) |
Checks whether IOs are frozen during DEEPSLEEP-RAM/OFF.
void Cy_SysPm_DeepSleepIoUnfreeze | ( | void | ) |
This function unfreezes the I/O cells that are automatically frozen when DEEPSLEEP-RAM/OFF is entered.
I/O cells remain frozen after a wakeup from DEEPSLEEP_RAM/OFF mode until the firmware unfreezes them by calling this function.
If the firmware must retain the data value on the pin, then the value must be read and re-written to the pin's port data register before calling this function. Furthermore, the drive mode must be re-programmed before the pins are unfrozen. If this is not done, the pin will change to the default state the moment the freeze is removed.
Note that I/O cell configuration can be changed while frozen. The new configuration becomes effective only after the pins are unfrozen.