Macros
SPIFFSNVS status codes

Macros

#define SPIFFSNVS_STATUS_SUCCESS   (0)
 Successful status code returned by: SPIFFSNVS_config() More...
 
#define SPIFFSNVS_STATUS_ERROR   (-1)
 Generic error status code returned by: SPIFFSNVS_config() More...
 
#define SPIFFSNVS_STATUS_INV_NVS_IDX   (-2)
 An error status code returned by SPIFFSNVS_config() More...
 
#define SPIFFSNVS_STATUS_INV_BLOCK_SIZE   (-3)
 An error status code returned by SPIFFSNVS_config() More...
 
#define SPIFFSNVS_STATUS_INV_PAGE_SIZE   (-4)
 An error status code returned by SPIFFSNVS_config() More...
 

Detailed Description

Macro Definition Documentation

§ SPIFFSNVS_STATUS_SUCCESS

#define SPIFFSNVS_STATUS_SUCCESS   (0)

Successful status code returned by: SPIFFSNVS_config()

Returned if the API was executed successfully.

§ SPIFFSNVS_STATUS_ERROR

#define SPIFFSNVS_STATUS_ERROR   (-1)

Generic error status code returned by: SPIFFSNVS_config()

Returned if the API was not executed successfully.

§ SPIFFSNVS_STATUS_INV_NVS_IDX

#define SPIFFSNVS_STATUS_INV_NVS_IDX   (-2)

An error status code returned by SPIFFSNVS_config()

SPIFFSNVS_config() will return this value if the NVS index is invalid.

§ SPIFFSNVS_STATUS_INV_BLOCK_SIZE

#define SPIFFSNVS_STATUS_INV_BLOCK_SIZE   (-3)

An error status code returned by SPIFFSNVS_config()

Error status code returned if the logicalBlockSize argument is not an integer multiple of the physical block size. (e.g., logicalBlockSize = n * physicalBlockSize; where n is a positive integer)

§ SPIFFSNVS_STATUS_INV_PAGE_SIZE

#define SPIFFSNVS_STATUS_INV_PAGE_SIZE   (-4)

An error status code returned by SPIFFSNVS_config()

Error status code returned if the logicalBlockSize argument is not an integer multiple of the logicalPageSize argument. (e.g., logicalBlockSize = n * logicalPageSize; where n is a positive integer)

© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale