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

Show/hide line numbers GetTickCount.cpp Source File

GetTickCount.cpp

00001 volatile unsigned int TickCount;
00002 
00003 extern "C" void SysTick_Handler (void) {
00004     TickCount += 1;
00005 }