removing prefix LL_ from class/struct names under f4ll namespace

This commit is contained in:
Attila Body 2019-11-12 15:26:16 +01:00
parent 366d0f991d
commit a2cb50a1af
13 changed files with 147 additions and 146 deletions

28
inc/memcpydma.h Normal file
View file

@ -0,0 +1,28 @@
/*
* llmemcpydma.h
*
* Created on: Nov 4, 2019
* Author: abody
*/
#ifndef LL_MEMCPY_DMA_H_
#define LL_MEMCPY_DMA_H_
#include "f4ll/dmahelper.h"
#include "singleton.h"
namespace f4ll {
class MemcpyDma : public Singleton<MemcpyDma>, private DmaHelper
{
friend class Singleton<MemcpyDma>;
public:
void* Copy(void *dst, void const *src, uint16_t length);
void DmaTransferCompleted();
private:
MemcpyDma(DMA_TypeDef *dma, uint32_t stream);
bool volatile m_busy = false;
};
} /* namespace f4ll */
#endif /* LL_MEMCPY_DMA_H_ */