rfLPC
A low level library for using NXP's LPC17xx SoC. Config is given for MBED prototyping board
dma.h File Reference

General Purpose DMA driver. More...

Go to the source code of this file.

Enumerations

enum  rflpc_dma_channel_t {
  RFLPC_DMAC0,
  RFLPC_DMAC1,
  RFLPC_DMAC2,
  RFLPC_DMAC3,
  RFLPC_DMAC4,
  RFLPC_DMAC5,
  RFLPC_DMAC6,
  RFLPC_DMAC7
}
 Enum to identify DMA channels.
 

Functions

void rflpc_dma_init (void)
 Inits the DMA Peripheral. More...
 
int rflpc_dma_channel_ready (rflpc_dma_channel_t channel)
 Tells if a DMA channel is ready to be used. More...
 
int rflpc_dma_start (rflpc_dma_channel_t channel, void *dest, const void *src, uint32_t size)
 Starts a DMA copy. More...
 

Detailed Description

General Purpose DMA driver.

Definition in file dma.h.