19 struct process *dma_callback[DMA_CHANNEL_COUNT];
28 for(tmp_ptr = 0; tmp_ptr < DMA_CHANNEL_COUNT; tmp_ptr++) {
29 dma_callback[tmp_ptr] = 0;
33 tmp_ptr = (uint16_t)&(dma_conf[0]);
34 DMA0CFGH = tmp_ptr >> 8;
42 #if (DMA_CHANNEL_COUNT > 1)
43 tmp_ptr = (uint16_t)&(dma_conf[1]);
44 DMA1CFGH = tmp_ptr >> 8;
56 dma_associate_process(
struct process *p, uint8_t c)
58 if((!c) || (c >= DMA_CHANNEL_COUNT)) {
63 dma_conf[c].inc_prio |= 8;
CC2430 registers header file for CC2430.
DMA configuration structure.