Loading...
Searching...
No Matches
rom_helper_flash_op_params_t Struct Reference

Parameters for the flash operation helper used with flash_safe_execute. More...

#include <bootrom.h>

Data Fields

cflash_flags_t flags
 Flags controlling the security level, address space, and flash operation.
uintptr_t addr
 Address of the first flash byte to be accessed.
uint32_t size_bytes
 Size of the buffer in bytes.
uint8_t * buf
 Buffer for data to be written to or read from flash.
int * res
 Pointer to store the return code from the flash operation.

Detailed Description

Parameters for the flash operation helper used with flash_safe_execute.

Bundles the arguments for rom_flash_op so they can be passed through the flash_safe_execute callback interface as a single pointer.


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