23 #if ( ( DMA_CHAN_COUNT > 0 ) && ( DMA_CHAN_COUNT <= 4 ) )
24 #define DMACTRL_CH_CNT 4
25 #define DMACTRL_ALIGNMENT 128
27 #elif ( ( DMA_CHAN_COUNT > 4 ) && ( DMA_CHAN_COUNT <= 8 ) )
28 #define DMACTRL_CH_CNT 8
29 #define DMACTRL_ALIGNMENT 256
31 #elif ( ( DMA_CHAN_COUNT > 8 ) && ( DMA_CHAN_COUNT <= 12 ) )
32 #define DMACTRL_CH_CNT 16
33 #define DMACTRL_ALIGNMENT 256
36 #error "Unsupported DMA channel count (dmactrl.c)."
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
#define SL_ALIGN(X)
Macro for aligning a variable. Use this macro before the variable definition. X denotes the stora...
General purpose utilities.
DMA_DESCRIPTOR_TypeDef dmaControlBlock[DMACTRL_CH_CNT *2] SL_ATTRIBUTE_ALIGN(DMACTRL_ALIGNMENT)