TI-OpenThread  1.08.07.01
Data Structures | Macros | Typedefs
LP_CC2674R10_FPGA/thread/door_lock/platform/nv/nvintf.h File Reference
#include <stdbool.h>
#include <stdint.h>
+ Include dependency graph for LP_CC2674R10_FPGA/thread/door_lock/platform/nv/nvintf.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  nvintf_itemid_t
 
struct  nvintf_nvfuncts_t
 Structure of NV API function pointers. More...
 
struct  nvintf_nvproxy_t
 

Macros

#define NVINTF_BADITEMID   7
 
#define NVINTF_BADLENGTH   5
 
#define NVINTF_BADOFFSET   6
 
#define NVINTF_BADPARAM   4
 
#define NVINTF_BADSUBID   8
 
#define NVINTF_BADSYSID   9
 
#define NVINTF_BADVERSION   12
 
#define NVINTF_CORRUPT   2
 
#define NVINTF_DOANYID   0x8
 
#define NVINTF_DODELETE   0x40
 
#define NVINTF_DOFIND   0x10
 
#define NVINTF_DOITMID   0x4
 
#define NVINTF_DOREAD   0x20
 
#define NVINTF_DOSTART   0x1
 
#define NVINTF_DOSYSID   0x2
 
#define NVINTF_EXIST   13
 
#define NVINTF_FAILURE   1
 
#define NVINTF_LOWPOWER   11
 
#define NVINTF_NOTFOUND   10
 
#define NVINTF_NOTREADY   3
 
#define NVINTF_SUCCESS   0
 
#define NVINTF_SYSID_6MESH   5
 
#define NVINTF_SYSID_APP   7
 
#define NVINTF_SYSID_BLE   4
 
#define NVINTF_SYSID_BMESH   9
 
#define NVINTF_SYSID_NVDRVR   0
 
#define NVINTF_SYSID_REMOTI   3
 
#define NVINTF_SYSID_SIDWK   10
 
#define NVINTF_SYSID_TIMAC   2
 
#define NVINTF_SYSID_TIOP   6
 
#define NVINTF_SYSID_WBMS   8
 
#define NVINTF_SYSID_WISUN   11
 
#define NVINTF_SYSID_ZSTACK   1
 

Typedefs

typedef uint8_t(* NVINTF_compactNV) (uint16_t minBytes)
 Function pointer definition for the NVINTF_compactNV() function. More...
 
typedef uint8_t(* NVINTF_createItem) (NVINTF_itemID_t id, uint32_t length, void *buffer)
 Function pointer definition for the NVINTF_createItem() function. More...
 
typedef uint8_t(* NVINTF_deleteItem) (NVINTF_itemID_t id)
 Function pointer definition for the NVINTF_deleteItem() function. More...
 
typedef uint8_t(* NVINTF_doNext) (NVINTF_nvProxy_t *nvProxy)
 Function pointer definition for the NVINTF_doNext() function. More...
 
typedef uint8_t(* NVINTF_eraseNV) (void)
 Function pointer definition for the NVINTF_eraseNV() function. More...
 
typedef bool(* NVINTF_expectComp) (uint16_t length)
 Function pointer definition for the NVINTF_expectComp() function. More...
 
typedef uint32_t(* NVINTF_getFreeNV) (void)
 Function pointer definition for the NVINTF_getFreeNV() function. More...
 
typedef uint32_t(* NVINTF_getItemLen) (NVINTF_itemID_t id)
 Function pointer definition for the NVINTF_getItemLen() function. More...
 
typedef uint8_t(* NVINTF_initNV) (void *param)
 Function pointer definition for the NVINTF_initNV() function. More...
 
typedef struct nvintf_itemid_t NVINTF_itemID_t
 
typedef int32_t(* NVINTF_lockNV) (void)
 Function pointer definition for the NVINTF_lockItem() function. More...
 
typedef struct nvintf_nvfuncts_t NVINTF_nvFuncts_t
 Structure of NV API function pointers. More...
 
typedef struct nvintf_nvproxy_t NVINTF_nvProxy_t
 
typedef uint8_t(* NVINTF_readContItem) (NVINTF_itemID_t id, uint16_t offset, uint16_t rlength, void *rbuffer, uint16_t clength, uint16_t coffset, void *cbuffer, uint16_t *pSubId)
 Function pointer definition for the NVINTF_readContItem() function. More...
 
typedef uint8_t(* NVINTF_readItem) (NVINTF_itemID_t id, uint16_t offset, uint16_t length, void *buffer)
 Function pointer definition for the NVINTF_readItem() function. More...
 
typedef void(* NVINTF_unlockNV) (int32_t)
 Function pointer definition for the NVINTF_unlockItem() function. More...
 
typedef uint8_t(* NVINTF_updateItem) (NVINTF_itemID_t id, uint32_t length, void *buffer)
 Function pointer definition for the NVINTF_updateItem() function. More...
 
typedef uint8_t(* NVINTF_writeItem) (NVINTF_itemID_t id, uint16_t length, void *buffer)
 Function pointer definition for the NVINTF_writeItem() function. More...
 

Macro Definition Documentation

§ NVINTF_SYSID_NVDRVR

#define NVINTF_SYSID_NVDRVR   0

§ NVINTF_SYSID_ZSTACK

#define NVINTF_SYSID_ZSTACK   1

§ NVINTF_SYSID_TIMAC

#define NVINTF_SYSID_TIMAC   2

§ NVINTF_SYSID_REMOTI

#define NVINTF_SYSID_REMOTI   3

§ NVINTF_SYSID_BLE

#define NVINTF_SYSID_BLE   4

§ NVINTF_SYSID_6MESH

#define NVINTF_SYSID_6MESH   5

§ NVINTF_SYSID_TIOP

#define NVINTF_SYSID_TIOP   6

§ NVINTF_SYSID_APP

#define NVINTF_SYSID_APP   7

§ NVINTF_SYSID_WBMS

#define NVINTF_SYSID_WBMS   8

§ NVINTF_SYSID_BMESH

#define NVINTF_SYSID_BMESH   9

§ NVINTF_SYSID_SIDWK

#define NVINTF_SYSID_SIDWK   10

§ NVINTF_SYSID_WISUN

#define NVINTF_SYSID_WISUN   11

§ NVINTF_SUCCESS

#define NVINTF_SUCCESS   0

§ NVINTF_FAILURE

#define NVINTF_FAILURE   1

§ NVINTF_CORRUPT

#define NVINTF_CORRUPT   2

§ NVINTF_NOTREADY

#define NVINTF_NOTREADY   3

§ NVINTF_BADPARAM

#define NVINTF_BADPARAM   4

§ NVINTF_BADLENGTH

#define NVINTF_BADLENGTH   5

§ NVINTF_BADOFFSET

#define NVINTF_BADOFFSET   6

§ NVINTF_BADITEMID

#define NVINTF_BADITEMID   7

§ NVINTF_BADSUBID

#define NVINTF_BADSUBID   8

§ NVINTF_BADSYSID

#define NVINTF_BADSYSID   9

§ NVINTF_NOTFOUND

#define NVINTF_NOTFOUND   10

§ NVINTF_LOWPOWER

#define NVINTF_LOWPOWER   11

§ NVINTF_BADVERSION

#define NVINTF_BADVERSION   12

§ NVINTF_EXIST

#define NVINTF_EXIST   13

§ NVINTF_DOSTART

#define NVINTF_DOSTART   0x1

§ NVINTF_DOSYSID

#define NVINTF_DOSYSID   0x2

§ NVINTF_DOITMID

#define NVINTF_DOITMID   0x4

§ NVINTF_DOANYID

#define NVINTF_DOANYID   0x8

§ NVINTF_DOFIND

#define NVINTF_DOFIND   0x10

§ NVINTF_DOREAD

#define NVINTF_DOREAD   0x20

§ NVINTF_DODELETE

#define NVINTF_DODELETE   0x40

Typedef Documentation

§ NVINTF_itemID_t

NV Item Identification structure

§ NVINTF_nvProxy_t

§ NVINTF_initNV

typedef uint8_t(* NVINTF_initNV) (void *param)

Function pointer definition for the NVINTF_initNV() function.

§ NVINTF_compactNV

typedef uint8_t(* NVINTF_compactNV) (uint16_t minBytes)

Function pointer definition for the NVINTF_compactNV() function.

§ NVINTF_createItem

typedef uint8_t(* NVINTF_createItem) (NVINTF_itemID_t id, uint32_t length, void *buffer)

Function pointer definition for the NVINTF_createItem() function.

§ NVINTF_updateItem

typedef uint8_t(* NVINTF_updateItem) (NVINTF_itemID_t id, uint32_t length, void *buffer)

Function pointer definition for the NVINTF_updateItem() function.

§ NVINTF_deleteItem

typedef uint8_t(* NVINTF_deleteItem) (NVINTF_itemID_t id)

Function pointer definition for the NVINTF_deleteItem() function.

§ NVINTF_readItem

typedef uint8_t(* NVINTF_readItem) (NVINTF_itemID_t id, uint16_t offset, uint16_t length, void *buffer)

Function pointer definition for the NVINTF_readItem() function.

§ NVINTF_readContItem

typedef uint8_t(* NVINTF_readContItem) (NVINTF_itemID_t id, uint16_t offset, uint16_t rlength, void *rbuffer, uint16_t clength, uint16_t coffset, void *cbuffer, uint16_t *pSubId)

Function pointer definition for the NVINTF_readContItem() function.

§ NVINTF_writeItem

typedef uint8_t(* NVINTF_writeItem) (NVINTF_itemID_t id, uint16_t length, void *buffer)

Function pointer definition for the NVINTF_writeItem() function.

§ NVINTF_getItemLen

typedef uint32_t(* NVINTF_getItemLen) (NVINTF_itemID_t id)

Function pointer definition for the NVINTF_getItemLen() function.

§ NVINTF_lockNV

typedef int32_t(* NVINTF_lockNV) (void)

Function pointer definition for the NVINTF_lockItem() function.

§ NVINTF_unlockNV

typedef void(* NVINTF_unlockNV) (int32_t)

Function pointer definition for the NVINTF_unlockItem() function.

§ NVINTF_doNext

typedef uint8_t(* NVINTF_doNext) (NVINTF_nvProxy_t *nvProxy)

Function pointer definition for the NVINTF_doNext() function.

§ NVINTF_expectComp

typedef bool(* NVINTF_expectComp) (uint16_t length)

Function pointer definition for the NVINTF_expectComp() function.

§ NVINTF_eraseNV

typedef uint8_t(* NVINTF_eraseNV) (void)

Function pointer definition for the NVINTF_eraseNV() function.

§ NVINTF_getFreeNV

typedef uint32_t(* NVINTF_getFreeNV) (void)

Function pointer definition for the NVINTF_getFreeNV() function.

§ NVINTF_nvFuncts_t

Structure of NV API function pointers.

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