SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
To include the DMA driver, define HAL_DMA=TRUE in the preprocessor definitions. Because the AES driver uses the DMA driver, always include the DMA driver in the project. Channels 1 and 2 are reserved for the AES driver. If the UART DMA or SPI driver is used, other channels are used. You can find the DMA API in hal_dma.h. For an example of using the DMA driver, see the SPI driver.