Helper interface for coordinating safe flash access across cores.
More...
#include <flash.h>
|
|
bool(* | core_init_deinit )(bool init) |
| | Initialize (init=true) or de-initialise (init=false) this core's participation in flash safety.
|
|
int(* | enter_safe_zone_timeout_ms )(uint32_t timeout_ms) |
| | Enter the safe zone, blocking until safe or until timeout_ms milliseconds elapse.
|
|
int(* | exit_safe_zone_timeout_ms )(uint32_t timeout_ms) |
| | Exit the safe zone, unblocking the other core, waiting up to timeout_ms milliseconds.
|
Helper interface for coordinating safe flash access across cores.
Provides the callbacks used by flash_safe_execute to initialize per-core state and to enter/exit the safe zone in which flash may be written or erased.
The documentation for this struct was generated from the following file: