Hardware Abstraction Layer (HAL)
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
DMA (Direct Memory Access)

General Description

DMA allows transferring data in SRAM without CPU intervention.

It can be used to transfer data from one memory location to another. The highest priority channels CYHAL_DMA_PRIORITY_HIGH are used by the WWD driver. For application-specific needs, use the CYHAL_DMA_PRIORITY_MEDIUM or CYHAL_DMA_PRIORITY_LOW channels.

Macros

#define CYHAL_DMA_PRIORITY_DEFAULT   CYHAL_DMA_PRIORITY_LOW
 Default DMA channel priority.
 
#define CYHAL_DMA_PRIORITY_HIGH   0u
 High DMA channel priority.
 
#define CYHAL_DMA_PRIORITY_MEDIUM   1u
 Medium DMA channel priority.
 
#define CYHAL_DMA_PRIORITY_LOW   2u
 Low DMA channel priority.