Implementation of the TCPWM Deep Sleep callback.
◆ mtb_syspm_tcpwm_deepsleep_context_t
| struct mtb_syspm_tcpwm_deepsleep_context_t |
| Data Fields |
|
uint32_t |
channelNum |
Number of the tcpwm channel. |
|
bool |
preSleepState |
Enable State of the channel pre-sleep. |
|
bool |
preSleepRunning |
Running State of the channel pre-sleep. |
◆ mtb_syspm_tcpwm_deepsleep_callback()
| cy_en_syspm_status_t mtb_syspm_tcpwm_deepsleep_callback |
( |
cy_stc_syspm_callback_params_t * |
params, |
|
|
cy_en_syspm_callback_mode_t |
mode |
|
) |
| |
Deepsleep callback for TCPWM IP.
- Note
- DeepSleep entry is not prevented if the TCPWM is running. If it is required to prevent DeepSleep entry when the TCPWM is running, the application should register its own callback or lock DeepSleep.
- Parameters
-
- Returns
- Returns CY_SYSPM_SUCCESS if successful, an error code otherwise