Search Code
About DMA_M2M

Published 14 Nov 2010.

Last change message: 2010/11/14

Import this program

DMA_M2M

Published 14 Nov 2010, by   user Ken Todotani   tag cmsis, DMA

Summary of DMA_M2M

How to get this program

Import this program

Open this program in the mbed Compiler, where you can edit it and compile it for your hardware.

Download as .zip

Download this program as .zip file.

Description

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

API

GPDMA_Channel_CFG_Type GPDMA Channel configuration structure type definition
GPDMA_LLI_Type GPDMA Linker List Item structure type definition

Code

DMA_M2M.c [code]
GetTickCount.cpp [code]
GetTickCount.h [code]
lpc17xx_clkpwr.c [code] Contains all functions support for Clock and Power Control firmware library on LPC17xx
lpc17xx_clkpwr.h [code] Contains all macro definitions and function prototypes support for Clock and Power Control firmware library on LPC17xx
lpc17xx_gpdma.c [code] Contains all functions support for GPDMA firmware library on LPC17xx
lpc17xx_gpdma.h [code] Contains all macro definitions and function prototypes support for GPDMA firmware library on LPC17xx
lpc17xx_libcfg.h [code] Library configuration file
lpc_types.h [code] Contains the NXP ABL typedefs for C standard types