GR551x API Reference
V1_6_06_B5676
Go to the documentation of this file.
48 #ifndef __GR55XX_NVDS_H__
49 #define __GR55XX_NVDS_H__
56 #define NV_TAGCAT_APP 0x4000
62 #define NV_TAG_APP(idx) (NV_TAGCAT_APP | ((idx) & 0x3FFF))
108 uint8_t
nvds_init(uint32_t start_addr, uint8_t sectors);
uint8_t nvds_del(NvdsTag_t tag)
Delete a tag in NVDS.
@ NVDS_SPACE_NOT_ENOUGH
NVDS space is not enough.
@ NVDS_COMPACT_FAILED
NVDS failed to compact sectors.
@ NVDS_LENGTH_OUT_OF_RANGE
NVDS length out of range.
@ NVDS_INVALID_PARA
NVDS invalid params.
@ NVDS_STORAGE_ACCESS_FAILED
NVDS failed to access storage.
@ NVDS_INVALID_SECTORS
NVDS invalid sector.
uint8_t nvds_put(NvdsTag_t tag, uint16_t len, const uint8_t *p_buf)
Write data to NVDS.
uint16_t nvds_tag_length(NvdsTag_t tag)
Get the length of a tag in NVDS.
NVDS_STATUS
NVDS Returned Status.
@ NVDS_SUCCESS
NVDS succeeds.
@ NVDS_TAG_NOT_EXISTED
NVDS tag does not exist.
uint8_t nvds_init(uint32_t start_addr, uint8_t sectors)
Initialize the sectors for NVDS.
uint8_t nvds_get(NvdsTag_t tag, uint16_t *p_len, uint8_t *p_buf)
Read data from NVDS.
@ NVDS_INVALID_START_ADDR
NVDS invalid start address.
uint16_t NvdsTag_t
NVDS Item tag.