2012-05-17 06:33 AM
Hi everyone. While reading ST technical documentation i haven't realised whether there exists a simple way to find out which one of buffers is in use in interrupt routine without keeping count, some reliable way?
Thanks #dma-double-buffer-memory-target2012-05-21 12:04 AM
Hello,
I'm using the following command to determine which memory block has to be processed: DMA_GetCurrentMemoryTarget if( DMA_GetCurrentMemoryTarget(DMA2_Stream0) == 0 ) { ... } else { ... } Best.2012-05-21 07:41 AM