Memory to Memory DMA demo from CMSIS example. This demo execute 1000 times of 32 word memory to memory DMA (copy), and also measures number of dummy loop execution during DMA cylcles. Line 56 of "DMA_M2M.c" can change DMA source. where; 1)static : source is SRAM 2)const : source is Flash ROM

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

GPDMA Public Types

GPDMA Public Types
[GPDMA]

Data Structures

struct  GPDMA_Channel_CFG_Type
 GPDMA Channel configuration structure type definition. More...
struct  GPDMA_LLI_Type
 GPDMA Linker List Item structure type definition. More...

Enumerations

enum  GPDMA_Status_Type {
  GPDMA_STAT_INT, GPDMA_STAT_INTTC, GPDMA_STAT_INTERR, GPDMA_STAT_RAWINTTC,
  GPDMA_STAT_RAWINTERR, GPDMA_STAT_ENABLED_CH
}
 

GPDMA Status enumeration.

More...
enum  GPDMA_StateClear_Type { GPDMA_STATCLR_INTTC, GPDMA_STATCLR_INTERR }
 

GPDMA Interrupt clear status enumeration.

More...

Enumeration Type Documentation

GPDMA Interrupt clear status enumeration.

Enumerator:
GPDMA_STATCLR_INTTC 

GPDMA Interrupt Terminal Count Request Clear.

GPDMA_STATCLR_INTERR 

GPDMA Interrupt Error Clear.

Definition at line 306 of file lpc17xx_gpdma.h.

GPDMA Status enumeration.

Enumerator:
GPDMA_STAT_INT 

GPDMA Interrupt Status.

GPDMA_STAT_INTTC 

GPDMA Interrupt Terminal Count Request Status.

GPDMA_STAT_INTERR 

GPDMA Interrupt Error Status.

GPDMA_STAT_RAWINTTC 

GPDMA Raw Interrupt Terminal Count Status.

GPDMA_STAT_RAWINTERR 

GPDMA Raw Error Interrupt Status.

GPDMA_STAT_ENABLED_CH 

GPDMA Enabled Channel Status.

Definition at line 294 of file lpc17xx_gpdma.h.