|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The flash a store lives in. More...
#include <art_store.h>
Data Fields | |
| bool(*) | read (void *ctx, uint32_t off, void *dst, uint32_t len) |
| bool(*) | erase (void *ctx, uint32_t off, uint32_t len) |
| bool(*) | write (void *ctx, uint32_t off, const void *src, uint32_t len) |
| void * | ctx |
| uint32_t | size |
| uint32_t | sector |
The flash a store lives in.
erase and write take offsets from the start of the partition. Erase is whole sectors; write is anywhere in an erased one. Any of them may fail and saying so is not optional: a store that believes a write that did not happen is a store that hands back a drawing that is not there.
| uint32_t art_flash_t::sector |
erase granularity, 4096 on this part
| uint32_t art_flash_t::size |
bytes of partition