|
Nexus Embedded Platform 0.1.0
Statically assembled reusable embedded mechanisms
|
Explicit physical Flash-region adapter without global registry. More...
Go to the source code of this file.
Data Structures | |
| struct | nx_flash_storage_adapter_t |
| Caller-owned adapter, no dynamic binding or global token lookup. More... | |
Functions | |
| nx_result_t | nx_flash_storage_bind (nx_flash_storage_adapter_t *adapter, nx_flash_region_t region, nx_time_us_t deadline, nx_storage_port_t *port) |
| Bind an explicit writable uniform-erase physical region. | |
| void | nx_flash_storage_set_deadline (nx_flash_storage_adapter_t *adapter, nx_time_us_t deadline) |
| Set the next transaction's one absolute mutation deadline. | |
Explicit physical Flash-region adapter without global registry.
Definition in file flash_storage.h.
| nx_result_t nx_flash_storage_bind | ( | nx_flash_storage_adapter_t * | adapter, |
| nx_flash_region_t | region, | ||
| nx_time_us_t | deadline, | ||
| nx_storage_port_t * | port ) |
Bind an explicit writable uniform-erase physical region.
| [out] | adapter | Unused caller storage kept through all store calls |
| [in] | region | Externally selected writable physical region |
| [in] | deadline | Absolute whole-transaction deadline for mutations |
| [out] | port | Narrow synchronous persistent port, valid on SUCCESS |
| void nx_flash_storage_set_deadline | ( | nx_flash_storage_adapter_t * | adapter, |
| nx_time_us_t | deadline ) |
Set the next transaction's one absolute mutation deadline.
| [in,out] | adapter | Bound adapter with no active store operation |
| [in] | deadline | Absolute deadline in nx_time_now_us domain |