The flash, gate, boot ROM and restart callbacks of the update.
More...
#include <link_update_dev.h>
|
|
bool(*) | erase (void *ctx, uint32_t off) |
| | Erase the 4KiB sector off bytes into the slot being written.
|
|
bool(*) | program (void *ctx, uint32_t off, const uint8_t *data) |
| | Program the 4KiB sector at off from data.
|
|
bool(*) | gate (void *ctx) |
| | True while flash may be written: the bank not driving, the supply's output off, no servo programming session, no store save pending.
|
|
bool(*) | buy (void *ctx) |
| | Buy the image on trial; true when the boot ROM took it.
|
|
void(*) | restart (void *ctx) |
| | Restart into the slot written, as a flash update boot.
|
|
void * | ctx |
The flash, gate, boot ROM and restart callbacks of the update.
The documentation for this struct was generated from the following file: