MODDMA GPDMA Controller New features: transfer pins to memory buffer under periodic timer control and send double buffers to DAC

Dependents:   FirstTest WaveSim IO-dma-memmem DACDMAfuncgenlib ... more

Revision:
7:347110c7aefc
Parent:
6:40d38be4bb59
Child:
8:cb4d323ce6fd
--- a/MODDMA.h	Tue Nov 23 21:34:21 2010 +0000
+++ b/MODDMA.h	Wed Nov 24 00:32:49 2010 +0000
@@ -393,6 +393,15 @@
     void Enable(uint32_t ChannelNumber) { Enable((CHANNELS)(ChannelNumber & 0x7)); }
     
     /**
+     * Enable and begin data transfer (overloaded function)
+     *
+     * @ingroup API
+     * @param config A pointer to teh configuration
+     */
+    void Enable(MODDMA_Config *config) { Enable( config->channelNum() ); }
+        
+    
+    /**
      * Disable a channel and end data transfer.
      *
      * @ingroup API