PSOC E8XXGP Device Support Library
PDM PCM Deep Sleep Callback

General Description

Implementation of the PDM PCM Deep Sleep callback.

Data Structures

struct  mtb_syspm_pdm_pcm_deepsleep_context_t
 Context Reference Structure for PDM_PCM peripheral in case of DeepSleep. More...
 

Functions

cy_en_syspm_status_t mtb_syspm_pdm_pcm_deepsleep_callback (cy_stc_syspm_callback_params_t *params, cy_en_syspm_callback_mode_t mode)
 Deepsleep callback for PDM_PCM IP. More...
 

Data Structure Documentation

◆ mtb_syspm_pdm_pcm_deepsleep_context_t

struct mtb_syspm_pdm_pcm_deepsleep_context_t
Data Fields
uint8_t channelNum Number of the PDM channel.

Function Documentation

◆ mtb_syspm_pdm_pcm_deepsleep_callback()

cy_en_syspm_status_t mtb_syspm_pdm_pcm_deepsleep_callback ( cy_stc_syspm_callback_params_t params,
cy_en_syspm_callback_mode_t  mode 
)

Deepsleep callback for PDM_PCM IP.

Parameters
[in]paramsThe param structure for the callback for which the context element should be of type mtb_syspm_pdm_pcm_deepsleep_context_t
[in]modeThe callback mode
Returns
Returns CY_SYSPM_SUCCESS if successful, an error code otherwise