![]() |
ACwing FC firmware
STM32WB55: attitude IEKF, altitude Kalman filter, flight core, protocol v2
|
sector header More...
#include <log_format.h>
Data Fields | |
| uint32_t | magic |
| uint32_t | serial |
| global sector write counter: the newest sector has the highest | |
| uint16_t | log_id |
| increments for every new log | |
| uint16_t | seq |
| sector index inside the log, 0 = first | |
| uint32_t | t0_ms |
| uptime when the log started | |
| uint8_t | format |
| LOG_FORMAT | |
| uint8_t | rsv |
| uint16_t | crc |
| CRC-16/CCITT-FALSE of the 18 bytes above | |
sector header
Definition at line 38 of file log_format.h.
| uint32_t log_sector_hdr_t::magic |
Definition at line 39 of file log_format.h.
Referenced by hdr_ok(), and start_sector().
| uint32_t log_sector_hdr_t::serial |
global sector write counter: the newest sector has the highest
Definition at line 40 of file log_format.h.
Referenced by log_mount(), and start_sector().
| uint16_t log_sector_hdr_t::log_id |
increments for every new log
Definition at line 41 of file log_format.h.
Referenced by log_mount(), and start_sector().
| uint16_t log_sector_hdr_t::seq |
sector index inside the log, 0 = first
Definition at line 42 of file log_format.h.
Referenced by log_mount(), and start_sector().
| uint32_t log_sector_hdr_t::t0_ms |
uptime when the log started
Definition at line 43 of file log_format.h.
Referenced by log_mount(), and start_sector().
| uint8_t log_sector_hdr_t::format |
| uint8_t log_sector_hdr_t::rsv |
Definition at line 45 of file log_format.h.
| uint16_t log_sector_hdr_t::crc |
CRC-16/CCITT-FALSE of the 18 bytes above
Definition at line 46 of file log_format.h.
Referenced by hdr_ok(), and start_sector().