#pragma once namespace data { enum Mode : uint8_t { none, local, stream, flash, }; void update(); unsigned read(char* data, unsigned len); bool jump(uint32_t addr); uint32_t get_addr(); };