Nordic Semiconductor nRF5 AirFuel SDK  version 2.2.0
pru_pstorage.h File Reference
#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  pru_pstorage_appdata
 PRU pstorage data container. More...
 

Persistant Storage API functions

typedef struct pru_pstorage_appdata pru_pstorage_appdata_t
 PRU pstorage data container.
 
void pru_pstorage_sys_evt_handler (uint32_t event)
 Handles system callbacks. More...
 
void pru_pstorage_write (pru_pstorage_appdata_t *p_appdata)
 Writes application data to flash. More...
 
void pru_pstorage_status (bool *p_complete, bool *p_success)
 Read status of pstorage operation. More...
 
bool pru_pstorage_read (pru_pstorage_appdata_t *p_appdata)
 Reads application data from flash. More...
 
void pru_pstorage_erase_appdata (void)
 Erase all of PRU appdata.