Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_ANCS_SDAPI_IRC
Fork of nRF51822 by
Go to the source code of this file.
Typedefs | |
| typedef void(* | pstorage_ntf_cb_t )(pstorage_handle_t *p_handle, uint8_t op_code, uint32_t result, uint8_t *p_data, uint32_t data_len) |
| Persistent Storage Error Reporting Callback. | |
Functions | |
| uint32_t | pstorage_init (void) |
| Module Initialization Routine. | |
| uint32_t | pstorage_register (pstorage_module_param_t *p_module_param, pstorage_handle_t *p_block_id) |
| Register with persistent storage interface. | |
| uint32_t | pstorage_block_identifier_get (pstorage_handle_t *p_base_id, pstorage_size_t block_num, pstorage_handle_t *p_block_id) |
| Function to get block id with reference to base block identifier provided at time of registration. | |
| uint32_t | pstorage_store (pstorage_handle_t *p_dest, uint8_t *p_src, pstorage_size_t size, pstorage_size_t offset) |
| Routine to persistently store data of length 'size' contained in 'p_src' address in storage module at 'p_dest' address; Equivalent to Storage Write. | |
| uint32_t | pstorage_load (uint8_t *p_dest, pstorage_handle_t *p_src, pstorage_size_t size, pstorage_size_t offset) |
| Routine to load persistently stored data of length 'size' from 'p_src' address to 'p_dest' address; Equivalent to Storage Read. | |
| uint32_t | pstorage_clear (pstorage_handle_t *p_base_id, pstorage_size_t size) |
| Routine to clear data in persistent memory. | |
| uint32_t | pstorage_raw_register (pstorage_module_param_t *p_module_param, pstorage_handle_t *p_block_id) |
| Function for registering with persistent storage interface. | |
| uint32_t | pstorage_raw_store (pstorage_handle_t *p_dest, uint8_t *p_src, pstorage_size_t size, pstorage_size_t offset) |
| Raw mode function for persistently storing data of length 'size' contained in 'p_src' address in storage module at 'p_dest' address; Equivalent to Storage Write. | |
| uint32_t | pstorage_raw_clear (pstorage_handle_t *p_dest, pstorage_size_t size) |
| Function for clearing data in persistent memory in raw mode. | |
Detailed Description
Definition in file pstorage.h.
Generated on Tue Jul 12 2022 16:36:22 by
1.7.2
