f4ll_c/memcpydma.h

26 lines
406 B
C

/*
* 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>
#ifdef __cplusplus
extern "C" {
#endif
void Mcd_Init(DMA_TypeDef *dma, uint32_t stream);
void * Mcd_Copy(void *dst, void const *src, size_t length);
void Mcd_HandleDmaIrq();
#ifdef __cplusplus
}
#endif
#endif /* MEMCPY_DMA_H_ */