2024-08-26 13:02:17 +10:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace data {
|
2024-08-28 13:10:57 +10:00
|
|
|
|
|
|
|
enum Mode : uint8_t {
|
|
|
|
none,
|
|
|
|
local,
|
|
|
|
stream,
|
|
|
|
flash,
|
|
|
|
};
|
2024-08-26 13:02:17 +10:00
|
|
|
|
2024-08-28 13:10:57 +10:00
|
|
|
void update();
|
|
|
|
unsigned read(char* data, unsigned len);
|
2024-09-29 18:07:58 +10:00
|
|
|
bool jump(uint32_t addr);
|
|
|
|
uint32_t get_addr();
|
2024-08-26 13:02:17 +10:00
|
|
|
};
|
|
|
|
|