24 lines
391 B
C++
24 lines
391 B
C++
/*
|
|
* llmemcpydma.h
|
|
*
|
|
* Created on: Nov 4, 2019
|
|
* Author: abody
|
|
*/
|
|
|
|
#ifndef LL_MEMCPY_DMA_H_
|
|
#define LL_MEMCPY_DMA_H_
|
|
#include "ll_dmahelper.h"
|
|
|
|
namespace f4ll {
|
|
|
|
class LL_MemcpyDma : private LL_DmaHelper
|
|
{
|
|
public:
|
|
LL_MemcpyDma(DMA_TypeDef *dma, uint32_t stream);
|
|
void Copy(void *dst, void const *src, uint16_t length);
|
|
|
|
};
|
|
|
|
} /* namespace f4ll */
|
|
|
|
#endif /* LL_MEMCPY_DMA_H_ */
|