Nexus Embedded Platform 0.1.0
Statically assembled reusable embedded mechanisms
Loading...
Searching...
No Matches
nx_flash_ops_t Struct Reference

Shared read-only methods using one provider state. More...

#include <flash.h>

Data Fields

const nx_flash_geometry_t *(* geometry )(const void *context)
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)

Detailed Description

Shared read-only methods using one provider state.

Note
Methods follow each public operation's ownership contract. Missing optional methods report UNSUPPORTED.

Definition at line 52 of file flash.h.

Field Documentation

◆ erase

nx_result_t(* nx_flash_ops_t::erase) (void *context, uint32_t offset, size_t length, nx_time_us_t deadline)

Definition at line 58 of file flash.h.

◆ geometry

const nx_flash_geometry_t *(* nx_flash_ops_t::geometry) (const void *context)

Definition at line 53 of file flash.h.

◆ program

nx_result_t(* nx_flash_ops_t::program) (void *context, uint32_t offset, const void *data, size_t length, nx_time_us_t deadline)

Definition at line 56 of file flash.h.

◆ read

nx_result_t(* nx_flash_ops_t::read) (const void *context, uint32_t offset, void *data, size_t length)

Definition at line 54 of file flash.h.


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