diff options
Diffstat (limited to 'src/drivers/InternalFlash.h')
-rw-r--r-- | src/drivers/InternalFlash.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/drivers/InternalFlash.h b/src/drivers/InternalFlash.h new file mode 100644 index 00000000..fd25bf46 --- /dev/null +++ b/src/drivers/InternalFlash.h @@ -0,0 +1,15 @@ +#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(); + }; + } +}
\ No newline at end of file |