94 void* data,
size_t length);
120 const void* data,
size_t length,
162 uint32_t offset,
void* data,
size_t length);
179 uint32_t offset,
const void* data,
195 uint32_t offset,
size_t length,
nx_result_t nx_flash_port_read(const nx_flash_port_t *port, uint32_t offset, void *data, size_t length)
Read bounded physical Flash without retaining destination.
nx_result_t nx_flash_port_program(const nx_flash_port_t *port, uint32_t offset, const void *data, size_t length, nx_time_us_t deadline)
Program aligned physical Flash and settle all hardware pulses.
nx_result_t nx_flash_region_validate(const nx_flash_region_t *region)
Validate region bounds against physical geometry.
nx_result_t nx_flash_region_erase(const nx_flash_region_t *region, uint32_t offset, size_t length, nx_time_us_t deadline)
Erase whole physical sectors within a writable region.
nx_result_t nx_flash_port_erase(const nx_flash_port_t *port, uint32_t offset, size_t length, nx_time_us_t deadline)
Erase a whole physical sector range with pulse settlement.
nx_result_t nx_flash_region_program(const nx_flash_region_t *region, uint32_t offset, const void *data, size_t length, nx_time_us_t deadline)
Program within an explicitly writable physical region.
const nx_flash_geometry_t * nx_flash_port_geometry(const nx_flash_port_t *port)
Query exact physical Flash geometry without side effects.
struct nx_flash_port nx_flash_port_t
nx_result_t nx_flash_region_read(const nx_flash_region_t *region, uint32_t offset, void *data, size_t length)
Read within an explicit physical region.
nx_result_t
Operation result; success at submission means admission only.
Read-only physical geometry; platform reserves no product storage.
const nx_flash_sector_t * sectors
Shared read-only methods using one provider state.
nx_result_t(* read)(const void *context, uint32_t offset, void *data, size_t length)
nx_result_t(* program)(void *context, uint32_t offset, const void *data, size_t length, nx_time_us_t deadline)
nx_result_t(* erase)(void *context, uint32_t offset, size_t length, nx_time_us_t deadline)
Immutable interface pointing to caller-owned state.
const nx_flash_ops_t * ops
Explicit consumer-selected bounds; no implicit product partition.
const nx_flash_port_t * port
Erase sector geometry, with offset relative to full physical Flash.
Absolute monotonic microsecond deadlines and wrap extension.
uint64_t nx_time_us_t
Microseconds in one boot/clock domain; no wall-clock semantics.