initial commit

This commit is contained in:
Attila Body 2019-11-20 21:13:52 +01:00
commit 7570c78a80
14 changed files with 1067 additions and 0 deletions

18
memcpydma.h Normal file
View file

@ -0,0 +1,18 @@
/*
* memcpy_dma.h
*
* Created on: Oct 1, 2019
* Author: abody
*/
#ifndef MEMCPY_DMA_H_
#define MEMCPY_DMA_H_
#include <inttypes.h>
#include <platform/dma_ll.h>
void Mcd_Init(DMA_TypeDef *dma, uint32_t stream);
void * Mcd_Copy(void *dst, void const *src, size_t length);
void Mcd_HandleDmaIrq();
#endif /* MEMCPY_DMA_H_ */