31 volatile uint16_t* p33c_DmaChannel_Handles[8]={
32 &DMACH0, &DMACH1, &DMACH2, &DMACH3,
33 &DMACH4, &DMACH5, &DMACH6, &DMACH7
35 #elif defined (DMACH6) 36 volatile uint16_t* p33c_DmaChannel_Handles[7]={
37 &DMACH0, &DMACH1, &DMACH2, &DMACH3
38 &DMACH4, &DMACH5, &DMACH6
40 #elif defined (DMACH5) 41 volatile uint16_t* p33c_DmaChannel_Handles[6]={
42 &DMACH0, &DMACH1, &DMACH2, &DMACH3
45 #elif defined (DMACH4) 46 volatile uint16_t* p33c_DmaChannel_Handles[5]={
47 &DMACH0, &DMACH1, &DMACH2, &DMACH3
50 #elif defined (DMACH3) 51 volatile uint16_t* p33c_DmaChannel_Handles[4]={
52 &DMACH0, &DMACH1, &DMACH2, &DMACH3
54 #elif defined (DMACH2) 55 volatile uint16_t* p33c_DmaChannel_Handles[3]={
56 &DMACH0, &DMACH1, &DMACH2
58 #elif defined (DMACH1) 59 volatile uint16_t* p33c_DmaChannel_Handles[2]={
62 #elif defined (DMACH0) 63 volatile uint16_t* p33c_DmaChannel_Handles[1]={
67 #pragma message "selected device has no supported DMA channels" 89 volatile uint16_t p33c_DmaModule_Dispose(
void)
91 volatile uint16_t retval=1;
93 retval = p33c_DmaModule_ConfigWrite(dmaModuleConfigClear);
119 dmac = p33c_DmaModule_GetHandle();
143 volatile uint16_t p33c_DmaModule_ConfigWrite(
147 volatile uint16_t retval=1;
151 dmac = p33c_DmaModule_GetHandle();
152 *dmac = dmaModuleConfig;
185 volatile uint16_t p33c_DmaInstance_Dispose(
volatile uint16_t dmaInstance)
187 volatile uint16_t retval=1;
189 retval = p33c_DmaInstance_ConfigWrite(dmaInstance, dmaInstanceConfigClear);
209 volatile struct P33C_DMA_INSTANCE_s p33c_DmaInstance_ConfigRead(volatile uint16_t dmaInstance)
214 dma = p33c_DmaInstance_GetHandle(dmaInstance);
239 volatile uint16_t p33c_DmaInstance_ConfigWrite(
240 volatile uint16_t dmaInstance,
243 volatile uint16_t retval=1;
247 dma = p33c_DmaInstance_GetHandle(dmaInstance);
280 .DmaBuf.value = 0x0000,
281 .DmaL.value = P33C_DACL_DEFAULT,
282 .DmaH.value = P33C_DACH_DEFAULT,
303 .DMAINTx.value = 0x0000,
304 .DMASRCx.value = 0x0000,
305 .DMADSTx.value = 0x0000,
306 .DMACNTx.value = 0x0000
union P33C_DMA_INSTANCE_s::@106 DMACHx
union P33C_DMA_MODULE_s::@92 DmaCon