![]() |
RA Flexible Software Package Documentation
Release v5.8.0
|
|
Interface for LittleFS access.
The LittleFS Port configures a fail-safe filesystem designed for microcontrollers on top of a lower level storage device.
Data Structures | |
struct | rm_littlefs_cfg_t |
struct | rm_littlefs_api_t |
struct | rm_littlefs_instance_t |
Typedefs | |
typedef void | rm_littlefs_ctrl_t |
struct rm_littlefs_cfg_t |
struct rm_littlefs_api_t |
LittleFS Port interface API.
Data Fields | |
fsp_err_t(* | open )(rm_littlefs_ctrl_t *const p_ctrl, rm_littlefs_cfg_t const *const p_cfg) |
fsp_err_t(* | close )(rm_littlefs_ctrl_t *const p_ctrl) |
fsp_err_t(* rm_littlefs_api_t::open) (rm_littlefs_ctrl_t *const p_ctrl, rm_littlefs_cfg_t const *const p_cfg) |
Initialize The lower level storage device.
[in] | p_ctrl | Pointer to control block. Must be declared by user. Elements set here. |
[in] | p_cfg | Pointer to configuration structure. All elements of this structure must be set by user. |
fsp_err_t(* rm_littlefs_api_t::close) (rm_littlefs_ctrl_t *const p_ctrl) |
Closes the module and lower level storage device.
[in] | p_ctrl | Control block set in rm_littlefs_api_t::open call. |
struct rm_littlefs_instance_t |
This structure encompasses everything that is needed to use an instance of this interface.
Data Fields | ||
---|---|---|
rm_littlefs_ctrl_t * | p_ctrl | Pointer to the control structure for this instance. |
rm_littlefs_cfg_t const * | p_cfg | Pointer to the configuration structure for this instance. |
rm_littlefs_api_t const * | p_api | Pointer to the API structure for this instance. |
typedef void rm_littlefs_ctrl_t |
LittleFS Port API control block. Allocate an instance specific control block to pass into the LittleFS Port API calls.