This driver supports one SysPm callback for Deep Sleep transition.
Functions | |
cy_en_syspm_status_t | Cy_CTDAC_DeepSleepCallback (cy_stc_syspm_callback_params_t *callbackParams, cy_en_syspm_callback_mode_t mode) |
Callback to prepare the CTDAC before entering and after exiting Deep Sleep mode. More... | |
cy_en_syspm_status_t Cy_CTDAC_DeepSleepCallback | ( | cy_stc_syspm_callback_params_t * | callbackParams, |
cy_en_syspm_callback_mode_t | mode | ||
) |
Callback to prepare the CTDAC before entering and after exiting Deep Sleep mode.
If deglitching is used, it is disabled before entering Deep Sleep to ensure the deglitch switches are closed. This is needed only if the CTDAC will be enabled in DeepSleep. Upon wakeup, deglitching will be re-enabled if it was previously used.
callbackParams | Pointer to structure of type cy_stc_syspm_callback_params_t. The context pointer should point to cy_stc_ctdac_context_t. |
mode | Callback mode, see cy_en_syspm_callback_mode_t |