SG RFID nRF51822 fork
Fork of nRF51822 by
Persistent Memory Interface Data Types
[Persistent Storage Interface]
Data Types needed for interfacing with persistent memory. More...
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. |
Detailed Description
Data Types needed for interfacing with persistent memory.
Typedef Documentation
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.
- Parameters:
-
[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.
Definition at line 80 of file pstorage.h.
Generated on Tue Jul 12 2022 15:07:45 by 1.7.2