96 extern void dma_init(
void) __banked;
97 typedef
void (*dma_func)(
void *);
102 typedef uint8_t xDMAHandle;
104 #define dma_config(channel, src, src_inc, dst, dst_inc, length, vlen_mode, t_mode, trigger, proc) dma_config2(channel,src,src_inc, dst, dst_inc, length, 0, vlen_mode, t_mode, trigger, proc)
110 extern xDMAHandle dma_config2(uint8_t channel,
void *src,
dma_inc_t src_inc,
void *dst,
dma_inc_t dst_inc,
113 extern uint8_t dma_arm(xDMAHandle channel) __banked;
114 extern uint8_t dma_abort(xDMAHandle channel) __banked;
115 extern uint8_t dma_trigger(xDMAHandle channel) __banked;
116 extern uint8_t dma_state(xDMAHandle channel) __banked;
117 void dma_config_print(xDMAHandle channel) __banked;
120 extern void dma_ISR(
void ) __interrupt (DMA_VECTOR);