aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/dma.h
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@mit.edu>2010-12-30 23:07:01 -0500
committerMarti Bolivar <mbolivar@mit.edu>2010-12-30 23:07:01 -0500
commitfc727d99ac3f3d98eeba925fbbfee5cae2e7f8a4 (patch)
tree2df4fea51e0a28a2364a13303a4673d0fefad7f8 /libmaple/dma.h
parent8e973f3d1ef0324e213824dc05af0f9713e7b3cb (diff)
downloadlibrambutan-fc727d99ac3f3d98eeba925fbbfee5cae2e7f8a4.tar.gz
librambutan-fc727d99ac3f3d98eeba925fbbfee5cae2e7f8a4.zip
nzmichaelh-master branch is ready for code review.
Diffstat (limited to 'libmaple/dma.h')
-rw-r--r--libmaple/dma.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libmaple/dma.h b/libmaple/dma.h
index 7072a1a..aabbfb8 100644
--- a/libmaple/dma.h
+++ b/libmaple/dma.h
@@ -88,11 +88,10 @@ typedef enum dma_transfer_size {
* @see dma_start() */
void dma_init(uint8 channel, volatile void *paddr,
dma_transfer_size psize, dma_transfer_size msize,
- dma_mode_flags mode);
+ int mode);
/**
- * Begin a DMA transfer initialized with dma_init(). You may call
- * this function repeatedly after a single call to dma_init().
+ * Begin a DMA transfer initialized with dma_init().
*
* @param channel Channel transfer to start.
* @param buffer Buffer to write to (unless DMA_FROM_MEM was set in