Home
last modified time | relevance | path

Searched refs:NVS_Handle (Results 1 – 6 of 6) sorted by relevance

/hal_ti-latest/simplelink/source/ti/drivers/
DNVS.h502 typedef struct NVS_Config_ *NVS_Handle; typedef
508 typedef void (*NVS_CloseFxn) (NVS_Handle handle);
514 typedef int_fast16_t (*NVS_ControlFxn) (NVS_Handle handle, uint_fast16_t cmd,
521 typedef int_fast16_t (*NVS_EraseFxn) (NVS_Handle handle, size_t offset,
528 typedef void (*NVS_GetAttrsFxn) (NVS_Handle handle, NVS_Attrs *attrs);
540 typedef NVS_Handle (*NVS_OpenFxn) (uint_least8_t index, NVS_Params *params);
546 typedef int_fast16_t (*NVS_ReadFxn) (NVS_Handle handle, size_t offset,
553 typedef int_fast16_t (*NVS_WriteFxn) (NVS_Handle handle, size_t offset,
561 typedef int_fast16_t (*NVS_LockFxn) (NVS_Handle handle, uint32_t timeout);
567 typedef void (*NVS_UnlockFxn) (NVS_Handle handle);
[all …]
DNVS.c57 void NVS_close(NVS_Handle handle) in NVS_close()
65 int_fast16_t NVS_control(NVS_Handle handle, uint_fast16_t cmd, uintptr_t arg) in NVS_control()
73 int_fast16_t NVS_erase(NVS_Handle handle, size_t offset, size_t size) in NVS_erase()
81 void NVS_getAttrs(NVS_Handle handle, NVS_Attrs *attrs) in NVS_getAttrs()
104 int_fast16_t NVS_lock(NVS_Handle handle, uint32_t timeout) in NVS_lock()
112 NVS_Handle NVS_open(uint_least8_t index, NVS_Params *params) in NVS_open()
114 NVS_Handle handle = NULL; in NVS_open()
143 int_fast16_t NVS_read(NVS_Handle handle, size_t offset, void *buffer, in NVS_read()
152 void NVS_unlock(NVS_Handle handle) in NVS_unlock()
160 int_fast16_t NVS_write(NVS_Handle handle, size_t offset, void *buffer, in NVS_write()
/hal_ti-latest/simplelink/source/ti/drivers/nvs/
DNVSSPI25X.h340 extern void NVSSPI25X_close(NVS_Handle handle);
341 extern int_fast16_t NVSSPI25X_control(NVS_Handle handle, uint_fast16_t cmd,
343 extern int_fast16_t NVSSPI25X_erase(NVS_Handle handle, size_t offset,
345 extern void NVSSPI25X_getAttrs(NVS_Handle handle, NVS_Attrs *attrs);
347 extern int_fast16_t NVSSPI25X_lock(NVS_Handle handle, uint32_t timeout);
348 extern NVS_Handle NVSSPI25X_open(uint_least8_t index, NVS_Params *params);
349 extern int_fast16_t NVSSPI25X_read(NVS_Handle handle, size_t offset,
351 extern void NVSSPI25X_unlock(NVS_Handle handle);
352 extern int_fast16_t NVSSPI25X_write(NVS_Handle handle, size_t offset,
357 extern void NVSSPI25X_initSpiCs(NVS_Handle spiHandle, uint16_t csId);
[all …]
DNVSRAM.h154 extern void NVSRAM_close(NVS_Handle handle);
155 extern int_fast16_t NVSRAM_control(NVS_Handle handle, uint_fast16_t cmd,
157 extern int_fast16_t NVSRAM_erase(NVS_Handle handle, size_t offset,
159 extern void NVSRAM_getAttrs(NVS_Handle handle, NVS_Attrs *attrs);
161 extern int_fast16_t NVSRAM_lock(NVS_Handle handle, uint32_t timeout);
162 extern NVS_Handle NVSRAM_open(uint_least8_t index, NVS_Params *params);
163 extern int_fast16_t NVSRAM_read(NVS_Handle handle, size_t offset,
165 extern void NVSRAM_unlock(NVS_Handle handle);
166 extern int_fast16_t NVSRAM_write(NVS_Handle handle, size_t offset,
DNVSRAM.c47 static int_fast16_t checkEraseRange(NVS_Handle handle, size_t offset, size_t size);
48 static int_fast16_t doErase(NVS_Handle handle, size_t offset, size_t size);
75 void NVSRAM_close(NVS_Handle handle) in NVSRAM_close()
83 int_fast16_t NVSRAM_control(NVS_Handle handle, uint_fast16_t cmd, in NVSRAM_control()
92 int_fast16_t NVSRAM_erase(NVS_Handle handle, size_t offset, size_t size) in NVSRAM_erase()
108 void NVSRAM_getAttrs(NVS_Handle handle, NVS_Attrs *attrs) in NVSRAM_getAttrs()
150 int_fast16_t NVSRAM_lock(NVS_Handle handle, uint32_t timeout) in NVSRAM_lock()
161 NVS_Handle NVSRAM_open(uint_least8_t index, NVS_Params *params) in NVSRAM_open()
163 NVS_Handle handle; in NVSRAM_open()
226 int_fast16_t NVSRAM_read(NVS_Handle handle, size_t offset, void *buffer, in NVSRAM_read()
[all …]
DNVSSPI25X.c77 static int_fast16_t checkEraseRange(NVS_Handle handle, size_t offset, size_t size);
78 static int_fast16_t doErase(NVS_Handle handle, size_t offset, size_t size);
79 static int_fast16_t doRead(NVS_Handle handle, size_t offset, void *buffer,
81 static int_fast16_t doWriteVerify(NVS_Handle handle, size_t offset,
87 static int_fast16_t extFlashPowerDown(NVS_Handle nvsHandle);
88 static int_fast16_t extFlashPowerStandby(NVS_Handle nvsHandle);
89 static int_fast16_t extFlashWaitReady(NVS_Handle nvsHandle);
90 static int_fast16_t extFlashWriteEnable(NVS_Handle nvsHandle);
91 static int_fast16_t extFlashMassErase(NVS_Handle nvsHandle);
129 void NVSSPI25X_close(NVS_Handle handle) in NVSSPI25X_close()
[all …]