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
--- a/SimpleDMA.h	Fri Jun 27 10:12:27 2014 +0000
+++ b/SimpleDMA.h	Tue Jan 27 14:30:18 2015 +0000
@@ -102,7 +102,7 @@
 *
 * @param length - number of BYTES to be moved by the DMA
 */
-int start(int length);
+int start(uint32_t length);
 
 /**
 * Is the DMA channel busy