mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[external] First attempt to merge Khi external API
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include <ion/storage.h>
|
||||
#include <ion/timing.h>
|
||||
#include <ion/usb.h>
|
||||
#include <ion/flash.h>
|
||||
#include <ion/unicode/utf8_decoder.h>
|
||||
#include <ion/unicode/utf8_helper.h>
|
||||
#include <stdint.h>
|
||||
|
||||
22
ion/include/ion/flash.h
Normal file
22
ion/include/ion/flash.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef ION_DEVICE_SHARED_FLASH_H
|
||||
#define ION_DEVICE_SHARED_FLASH_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace Ion {
|
||||
namespace Device {
|
||||
namespace Flash {
|
||||
|
||||
int TotalNumberOfSectors();
|
||||
int SectorAtAddress(uint32_t address);
|
||||
|
||||
void MassErase();
|
||||
void EraseSector(int i);
|
||||
void WriteMemory(uint8_t * destination, uint8_t * source, size_t length);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user