diff options
author | Marti Bolivar <mbolivar@mit.edu> | 2010-12-28 19:06:27 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@mit.edu> | 2010-12-28 19:06:27 -0500 |
commit | d1a8d832af96efdd1b399799dfae81517dc04dfa (patch) | |
tree | 3ce037909f3fdec9167557544c19a8c94726838b /libmaple/dma.h | |
parent | d38ffc1c658476a5c28e3d70ac9abd300f914433 (diff) | |
download | librambutan-d1a8d832af96efdd1b399799dfae81517dc04dfa.tar.gz librambutan-d1a8d832af96efdd1b399799dfae81517dc04dfa.zip |
nzmichaelh's pull request mods compile and upload.
renamed SysTick_Handler back to SysTickHandler since all of our linker magic/lanchon-stm32 depends on that name. added backup register support in order to test independent watchdog support; it seems to work. next major test target is DMA support.
Diffstat (limited to 'libmaple/dma.h')
-rw-r--r-- | libmaple/dma.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmaple/dma.h b/libmaple/dma.h index 339b826..8a6ca34 100644 --- a/libmaple/dma.h +++ b/libmaple/dma.h @@ -61,7 +61,8 @@ typedef enum dma_mode_flags { DMA_CIRC_MODE = 1, } dma_mode_flags; -void dma_init(uint8 channel, volatile void *peripheral, bool from_peripheral, dma_mode_flags mode); +void dma_init(uint8 channel, volatile void *peripheral, int from_peripheral, + dma_mode_flags mode); void dma_start(uint8 channel, volatile void *buffer, uint16 count); #ifdef __cplusplus |