mDMA implements DMA APIs for mbed. It is inspired by modDMA and simpleDMA. Compared with other mbed DMA implementations, mDMA has new features like 1) support LLI 2) support more than 4KB data transfer 3) support vectorized transfer. 4) support burst transfer. 5) Improved memory-memory transfer. It could beat memcpy 6) The library implementation fit the code structure of mbed sdk. Currently only support LPC1768 but could be extended to other platforms.
Revision 1:9421d79fb372, committed 2015-03-09
- Comitter:
- steniu01
- Date:
- Mon Mar 09 21:47:24 2015 +0000
- Parent:
- 0:8e50c5fd42f6
- Commit message:
- improved the coding style
Changed in this revision
dma_api.c | Show annotated file Show diff for this revision Revisions of this file |
diff -r 8e50c5fd42f6 -r 9421d79fb372 dma_api.c --- a/dma_api.c Mon Mar 09 21:29:27 2015 +0000 +++ b/dma_api.c Mon Mar 09 21:47:24 2015 +0000 @@ -490,7 +490,7 @@ { assert(channel <= _channel_num && channel >= 0); assert(status == ERR || status == FINISH); - + if (status == ERR) dma_irq_error[channel] = ptr; else if (status == FINISH)