nRF51 SDK - S120 SoftDevice
|
Data Types needed for interfacing with persistent memory. More...
Data Structures | |
struct | pstorage_module_param_t |
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. More... | |
Data Types needed for interfacing with persistent memory.
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.
Persistent Storage Error Reporting Callback that is used by the interface to report success or failure of a flash operation. Therefore, for any operations, application can know when the procedure was complete. For store operation, since no data copy is made, receiving a success or failure notification, indicated by the reason parameter of callback is an indication that the resident memory could now be reused or freed, as the case may be.
[in] | handle | Identifies module and block for which callback is received. |
[in] | op_code | Identifies the operation for which the event is notified. |
[in] | result | Identifies the result of flash access operation. NRF_SUCCESS implies, operation succeeded. |
[in] | p_data | Identifies the application data pointer. In case of store operation, this points to the resident source of application memory that application can now free or reuse. In case of clear, this is NULL as no application pointer is needed for this operation. |
[in] | data_len | Length data application had provided for the operation. |