Struct SYN_BootData¶
Boot data persisted to flash across resets.
#include <syn_boot.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint32_t | boot_count |
| uint16_t | fail_count |
| uint8_t | last_reset |
| uint8_t | was_healthy |
Public Attributes Documentation¶
variable boot_count¶
Total boot count (monotonic)
variable fail_count¶
Consecutive boots without healthy
variable last_reset¶
Last reset reason (application-set)
variable was_healthy¶
Did last boot complete successfully?
The documentation for this class was generated from the following file src/syntropic/system/syn_boot.h