Enumerations
Enumerations
SYSTEM » Non-Volatile Data Storage

## Enumerations
enum | NVDS_STATUS { NVDS_SUCCESS, NVDS_GC_COMPLETE, NVDS_FAIL, NVDS_NOT_INIT, NVDS_TAG_NOT_EXISTED, NVDS_SPACE_NOT_ENOUGH, NVDS_LENGTH_OUT_OF_RANGE, NVDS_INVALID_PARA, NVDS_INVALID_START_ADDR, NVDS_INVALID_SECTORS, NVDS_COMPACT_FAILED, NVDS_STORAGE_ACCESS_FAILED, NVDS_POINTER_NULL }
| NVDS Returned Status. More...
enum | NVDS_INIT_ERR_CODE { NVDS_INIT_SUCCESS, NVDS_INIT_MULT_SECTOR_NUM_ERR, NVDS_INIT_SING_SECTOR_NUM_ERR, NVDS_INIT_START_ADDR_NO_ALIGN, NVDS_INIT_AREA_SLOP_OVER, NVDS_INIT_CHECKSUM_FAIL, NVDS_INIT_TAG_LEN_ERR, NVDS_INIT_READ_TAG_NOT_COMPLETE, NVDS_INIT_MGR_ERR }
| NVDS initialization Return error code. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ NVDS_INIT_ERR_CODE

enum NVDS_INIT_ERR_CODE

NVDS initialization Return error code.

Enumerator
NVDS_INIT_SUCCESS | NVDS initialization succeeds.
NVDS_INIT_MULT_SECTOR_NUM_ERR | NVDS_INIT input parameter sectors is 0, when enable ENABLE_MULT_SECTOR.
NVDS_INIT_SING_SECTOR_NUM_ERR | NVDS_INIT input parameter sectors is not 1, when disable ENABLE_MULT_SECTOR.
NVDS_INIT_START_ADDR_NO_ALIGN | NVDS_INIT input parameter start addr is not 4K aligned.
NVDS_INIT_AREA_SLOP_OVER | NVDS_INIT input parameters cause nvds to out of range.
NVDS_INIT_CHECKSUM_FAIL | When nvds has been initialized and read tag, verification fail.
NVDS_INIT_TAG_LEN_ERR | When nvds has been initialized and read tag, the tag length is 0.
NVDS_INIT_READ_TAG_NOT_COMPLETE | When nvds has been initialized read tag not complate.
NVDS_INIT_MGR_ERR | When nvds has been initialized and read tag complate, avail size is error.

Definition at line 84 of file gr533x_nvds.h.

## ◆ NVDS_STATUS

enum NVDS_STATUS

NVDS Returned Status.

Enumerator
NVDS_SUCCESS | NVDS succeeds.
NVDS_GC_COMPLETE | NVDS garbage collection complete.
NVDS_FAIL | NVDS failed.
NVDS_NOT_INIT | NVDS not initialize.
NVDS_TAG_NOT_EXISTED | NVDS tag does not exist.
NVDS_SPACE_NOT_ENOUGH | NVDS space is not enough.
NVDS_LENGTH_OUT_OF_RANGE | NVDS length out of range.
NVDS_INVALID_PARA | NVDS invalid params.
NVDS_INVALID_START_ADDR | NVDS invalid start address.
NVDS_INVALID_SECTORS | NVDS invalid sector.
NVDS_COMPACT_FAILED | NVDS failed to compact sectors.
NVDS_STORAGE_ACCESS_FAILED | NVDS failed to access storage.
NVDS_POINTER_NULL | NVDS or driver function repalce error: NULL.

Definition at line 66 of file gr533x_nvds.h.