InfiniTime/src/drivers/InternalFlash.h
2021-04-24 12:00:45 +03:00

16 lines
284 B
C++

#pragma once
#include <cstdint>
namespace Pinetime {
namespace Drivers {
class InternalFlash {
public:
static void ErasePage(uint32_t address);
static void WriteWord(uint32_t address, uint32_t value);
private:
static inline void Wait();
};
}
}