PSoC 6 Peripheral Driver Library
Low Power Callback

General Description

The driver supports SysPm callback for Deep Sleep transition.

Functions

cy_en_syspm_status_t Cy_LVD_DeepSleepCallback (cy_stc_syspm_callback_params_t *callbackParams, cy_en_syspm_callback_mode_t mode)
 When this function is registered by Cy_SysPm_RegisterCallback - it automatically enables the LVD after wake up from Deep-Sleep mode. More...
 

Function Documentation

◆ Cy_LVD_DeepSleepCallback()

cy_en_syspm_status_t Cy_LVD_DeepSleepCallback ( cy_stc_syspm_callback_params_t callbackParams,
cy_en_syspm_callback_mode_t  mode 
)

When this function is registered by Cy_SysPm_RegisterCallback - it automatically enables the LVD after wake up from Deep-Sleep mode.

Parameters
callbackParamsThe pointer to the callback parameters structure, see cy_stc_syspm_callback_params_t.
modeCallback mode, see cy_en_syspm_callback_mode_t
Returns
the SysPm callback status cy_en_syspm_status_t.