konashi/SBBLEのテスト
Fork of BLE_LoopbackUART 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_update (pstorage_handle_t *p_dest, uint8_t *p_src, pstorage_size_t size, pstorage_size_t offset) |
Routine to update persistently stored data of length 'size' contained in 'p_src' address in storage module at 'p_dest' address. | |
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_access_status_get (uint32_t *p_count) |
API to get status of number of pending operations with the module. | |
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 20:35:46 by 1.7.2