Nexus Embedded Platform 1.0.0
Statically assembled reusable embedded mechanisms
Loading...
Searching...
No Matches
flash_storage.h
Go to the documentation of this file.
1
7#ifndef NEXUS_COMPONENTS_FLASH_STORAGE_H
8#define NEXUS_COMPONENTS_FLASH_STORAGE_H
10#include "nexus/io/flash.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
21
36 nx_flash_region_t region,
37 nx_time_us_t deadline,
38 nx_storage_port_t* port);
48 nx_time_us_t deadline);
49
50#ifdef __cplusplus
51}
52#endif
53
54#endif /* NEXUS_COMPONENTS_FLASH_STORAGE_H */
Full physical Flash geometry and explicit bounded regions.
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.
nx_result_t
Operation result; success at submission means admission only.
Definition status.h:21
Two-bank durable blob storage over an explicit narrow port.
Explicit consumer-selected bounds; no implicit product partition.
Definition flash.h:39
Caller-owned adapter, no dynamic binding or global token lookup.
nx_flash_region_t region
Synchronous settled persistent Flash port.
Definition storage.h:38
uint64_t nx_time_us_t
Microseconds in one boot/clock domain; no wall-clock semantics.
Definition time.h:20