rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
link_update_io_t Struct Reference

The flash, gate, boot ROM and restart callbacks of the update. More...

#include <link_update_dev.h>

Data Fields

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

Detailed Description

The flash, gate, boot ROM and restart callbacks of the update.


The documentation for this struct was generated from the following file: