|
Files |
file | otDMA.h |
| Direct Memory Access Library for BF51x.
|
Modules |
| Version History |
| DMA - Code example |
Enumerations |
enum | dmaChannels { DMA_CH_0,
DMA_CH_1
} |
enum | dmaData { DMA_BYTE,
DMA_WORD,
DMA_DWORD
} |
Functions |
void | DmaSetInterruptService (U8 chan, void(*pCallback)(void)) |
| Set callback for specified MDMA channel.
|
void | DmaEnableInterrupt (U8 chan, bool ena) |
| Enable or disable the interrupt on end of trasfer for the specified MDMA channel.
|
void | DmaMove (U8 chan, void *src, void *dest, U32 len, U8 dataType) |
| Move an amount of memory from src to dst.
|
void | DmaMoveToPort (U8 chan, void *src, void *port, U32 len, U8 dataType) |
| Move an amount of memory from src to a memory mapped peripheral.
|
void | DmaMoveFromPort (U8 chan, void *port, void *dest, U32 len, U8 dataType) |
| Move an amount of memory from a memory mapped peripheral to a buffer.
|