![]() |
Wixel SDK
|
#include <cc2511_map.h>Go to the source code of this file.
Data Structures | |
| struct | DMA14_CONFIG |
Macros | |
| #define | DMA_CHANNEL_RADIO 1 |
Typedefs | |
| typedef struct DMA14_CONFIG | DMA14_CONFIG |
Functions | |
| void | dmaInit (void) |
Variables | |
| DMA14_CONFIG XDATA | dmaConfig |
The dma.lib library provides basic functions and variables for the CC2511's DMA controller. DMA provides a fast way to copy blocks of data from one memory region or peripheral to another.
Definition in file dma.h.
| #define DMA_CHANNEL_RADIO 1 |
| typedef struct DMA14_CONFIG DMA14_CONFIG |
This struct consists of 4 DMA config registers for DMA channels 1-4.
| void dmaInit | ( | void | ) |
Initializes the DMA1CFGL and DMA1CFGH registers to point to dmaConfig.
This function is called by systemInit().
| DMA14_CONFIG XDATA dmaConfig |
This structure in XDATA holds the configuration options for DMA channels 1-4. We have to do it this way because the CC2511's DMA controller expects the configurations of those channels to be next to each other in memory. The configuration of channel 0 can be anywhere. You must call dmaInit() (or systemInit()) for this struct to work.
1.8.10