DMA library for the KL25Z

Dependents:   SimpleDMA_HelloWorld RTOS_SPI spiDMAtest Pinscape_Controller_v1 ... more

Introduction

SimpleDMA is a standard library for different DMA peripherals. Currently the LPC1768, KL46Z and KL25Z are supported. It provided one set of functions for different peripherals. It does not allow for usage of all the advanced functions, partially because the goal was to provide a simple interface, and partially because they are different for different microcontrollers.

Examples

Helloworld: http://mbed.org/users/Sissors/code/SimpleDMA_HelloWorld/

Example in a library (SPI): http://mbed.org/users/Sissors/code/RTOS_SPI/

Revision:
8:876f3b55e6f5
Parent:
7:d3be727fa9d2
Child:
9:f7345d41b076
diff -r d3be727fa9d2 -r 876f3b55e6f5 SimpleDMA_KL25_46.cpp
--- a/SimpleDMA_KL25_46.cpp	Fri Jun 27 10:12:27 2014 +0000
+++ b/SimpleDMA_KL25_46.cpp	Tue Jan 27 14:30:18 2015 +0000
@@ -25,7 +25,7 @@
 }
 
 
-int SimpleDMA::start(int length) {  
+int SimpleDMA::start(uint32_t length) {  
     if (auto_channel)
         _channel = getFreeChannel();
     else