PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Data Structures | Functions
DMA Deep Sleep Callback
SYSPM Callback API Reference

## General Description

Implementation of the DMA Deep Sleep callbacks.

## Data Structures
struct | mtb_syspm_dma_deepsleep_context_t
| Context Reference Structure for DMA peripheral. More...

## Functions
cy_en_syspm_status_t | mtb_syspm_dma_dw_deepsleep_callback (cy_stc_syspm_callback_params_t *params, cy_en_syspm_callback_mode_t mode)
| Deepsleep callback for DMA DW IP. More...
cy_en_syspm_status_t | mtb_syspm_dma_dmac_deepsleep_callback (cy_stc_syspm_callback_params_t *params, cy_en_syspm_callback_mode_t mode)
| Deepsleep callback for DMA DMAC/AXIDMAC IP. More...

## Data Structure Documentation

## ◆ mtb_syspm_dma_deepsleep_context_t

struct mtb_syspm_dma_deepsleep_context_t

Data Fields
uint32_t | channelNum | Number of the DMA channel active.

## Function Documentation

## ◆ mtb_syspm_dma_dw_deepsleep_callback()

cy_en_syspm_status_t mtb_syspm_dma_dw_deepsleep_callback | ( | cy_stc_syspm_callback_params_t * | params,
|  | cy_en_syspm_callback_mode_t | mode
| ) |  |

Deepsleep callback for DMA DW IP.

Parameters

  [in] | params | The param structure for the callback for which the context element should be of type mtb_syspm_dma_deepsleep_context_t
  [in] | mode | The callback mode

Returns
  Returns CY_SYSPM_SUCCESS if successful, an error code otherwise

## ◆ mtb_syspm_dma_dmac_deepsleep_callback()

cy_en_syspm_status_t mtb_syspm_dma_dmac_deepsleep_callback | ( | cy_stc_syspm_callback_params_t * | params,
|  | cy_en_syspm_callback_mode_t | mode
| ) |  |

Deepsleep callback for DMA DMAC/AXIDMAC IP.

Parameters

  [in] | params | The param structure for the callback for which the context element should be of type mtb_syspm_dma_deepsleep_context_t
  [in] | mode | The callback mode

Returns
  Returns CY_SYSPM_SUCCESS if successful, an error code otherwise