nRF51 SDK: Persistent Storage Access Operation Codes

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros
Persistent Storage Access Operation Codes
Persistent Storage Interface

Persistent Storage Access Operation Codes. These are used to report any error during a persistent storage access operation or any general error that may occur in the interface. More...

## Macros

#define | PSTORAGE_ERROR_OP_CODE 0x01
#define | PSTORAGE_STORE_OP_CODE 0x02
#define | PSTORAGE_LOAD_OP_CODE 0x03
#define | PSTORAGE_CLEAR_OP_CODE 0x04
#define | PSTORAGE_UPDATE_OP_CODE 0x05

## Detailed Description

Persistent Storage Access Operation Codes. These are used to report any error during a persistent storage access operation or any general error that may occur in the interface.

Persistent Storage Access Operation Codes used in error notification callback registered with the interface to report any error during an persistent storage access operation or any general error that may occur in the interface.

## Macro Definition Documentation

#define PSTORAGE_CLEAR_OP_CODE 0x04

Error when Clear Operation was requested

#define PSTORAGE_ERROR_OP_CODE 0x01

General Error Code

#define PSTORAGE_LOAD_OP_CODE 0x03

Error when Load Operation was requested

#define PSTORAGE_STORE_OP_CODE 0x02

Error when Store Operation was requested

#define PSTORAGE_UPDATE_OP_CODE 0x05

Update an already touched storage block