Functions | |
| __STATIC_INLINE 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(). | |
| 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. | |
| cy_en_syspm_status_t | Cy_SysPm_SystemTransitionInitiate (void) |
| Initiates a system power mode transition by disabling the Secure Enclave (SE). | |
| cy_en_syspm_status_t | Cy_SysPm_SystemTransitionFinalize (void) |
| Finalizes a system power mode transition by re-enabling the Secure Enclave (SE). | |
| __STATIC_INLINE 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.
| 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.
| cy_en_syspm_status_t Cy_SysPm_SystemTransitionInitiate | ( | void | ) |
Initiates a system power mode transition by disabling the Secure Enclave (SE).
This function is called at the beginning of system power transitions to prepare the system by disabling security-sensitive components like the Secure Enclave. It must be paired with Cy_SysPm_SystemTransitionFinalize() to complete the transition process.
The function handles the operation differently based on the system configuration:
| cy_en_syspm_status_t Cy_SysPm_SystemTransitionFinalize | ( | void | ) |
Finalizes a system power mode transition by re-enabling the Secure Enclave (SE).
This function is called at the end of system power transitions to restore security-sensitive components like the Secure Enclave after the transition is complete. It must be paired with Cy_SysPm_SystemTransitionInitiate() for proper system transition handling.
The function handles the operation differently based on the system configuration: