PSoC 6 Peripheral Driver Library

General Description

The driver supports SysPm callback for Deep Sleep transition.

Functions

cy_en_syspm_status_t Cy_PDM_PCM_DeepSleepCallback (cy_stc_syspm_callback_params_t *callbackParams, cy_en_syspm_callback_mode_t mode)
 This is an example callback function that can be used at the application layer to manage the PDM-PCM operation before entering and after exiting Deep Sleep mode. More...
 

Function Documentation

◆ Cy_PDM_PCM_DeepSleepCallback()

cy_en_syspm_status_t Cy_PDM_PCM_DeepSleepCallback ( cy_stc_syspm_callback_params_t callbackParams,
cy_en_syspm_callback_mode_t  mode 
)

This is an example callback function that can be used at the application layer to manage the PDM-PCM operation before entering and after exiting Deep Sleep mode.

Parameters
callbackParamsThe structure with the syspm callback parameters, see cy_stc_syspm_callback_params_t.
modeCallback mode, see cy_en_syspm_callback_mode_t
Returns
syspm return status, see cy_en_syspm_status_t