![]() |
ACwing FC firmware
STM32WB55: attitude IEKF, altitude Kalman filter, flight core, protocol v2
|
flash backend; addresses in bytes from the start of the log area More...
#include <log_store.h>
Data Fields | |
| void * | ctx |
| uint32_t | size |
| multiple of LOG_SECTOR | |
| int(* | read )(void *ctx, uint32_t addr, void *buf, uint32_t n) |
| int(* | prog )(void *ctx, uint32_t addr, const void *buf, uint32_t n) |
| inside one 256-byte page | |
| int(* | erase )(void *ctx, uint32_t addr) |
| one 4 KB sector, blocking | |
flash backend; addresses in bytes from the start of the log area
Definition at line 28 of file log_store.h.
| void* log_flash_t::ctx |
Definition at line 29 of file log_store.h.
Referenced by flush_page(), log_erase_all(), log_flash_ram_init(), log_read(), read_hdr(), and start_sector().
| uint32_t log_flash_t::size |
multiple of LOG_SECTOR
Definition at line 30 of file log_store.h.
Referenced by log_flash_ram_init(), and log_mount().
Definition at line 31 of file log_store.h.
Referenced by log_flash_ram_init(), log_read(), and read_hdr().
inside one 256-byte page
Definition at line 32 of file log_store.h.
Referenced by flush_page(), and log_flash_ram_init().
one 4 KB sector, blocking
Definition at line 33 of file log_store.h.
Referenced by log_erase_all(), log_flash_ram_init(), and start_sector().