WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
nv_nvregion.h 文件参考
#include "nv_page.h"
#include "errcode.h"
nv_nvregion.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  nv_key_index_map_t
 
struct  kv_nvregion_map_t
 
struct  kv_nvregion_area_t
 

函数

void kv_nvregion_init (uint32_t nv_data_addr, uint32_t nv_data_size, uint32_t nv_backup_addr, uint32_t nv_backup_size)
 
errcode_t kv_nvregion_scan (void)
 
errcode_t kv_nvregion_find_page (uint16_t store_id, uint8_t page_index, kv_page_location *location, kv_page_header_t *header)
 
errcode_t kv_nvregion_find_unused_page (kv_page_location *location)
 
errcode_t kv_nvregion_erase_page (kv_page_location page_location)
 
errcode_t kv_nvregion_create_page (uint16_t store_id, uint8_t page_index)
 
errcode_t kv_nvregion_write_page (kv_page_location page_location, uint16_t store_id, uint8_t page_index)
 
kv_nvregion_map_tkv_nvregion_get_map (void)
 
kv_nvregion_area_tnv_get_region_area (void)
 
uint32_t kv_nvregion_get_page_number (kv_page_location page_location)
 
uint32_t kv_nvregion_get_use_times (kv_page_location page_location)
 

函数说明

◆ kv_nvregion_create_page()

errcode_t kv_nvregion_create_page ( uint16_t  store_id,
uint8_t  page_index 
)

◆ kv_nvregion_erase_page()

errcode_t kv_nvregion_erase_page ( kv_page_location  page_location)

◆ kv_nvregion_find_page()

errcode_t kv_nvregion_find_page ( uint16_t  store_id,
uint8_t  page_index,
kv_page_location location,
kv_page_header_t header 
)

◆ kv_nvregion_find_unused_page()

errcode_t kv_nvregion_find_unused_page ( kv_page_location location)

◆ kv_nvregion_get_map()

kv_nvregion_map_t * kv_nvregion_get_map ( void  )

◆ kv_nvregion_get_page_number()

uint32_t kv_nvregion_get_page_number ( kv_page_location  page_location)

◆ kv_nvregion_get_use_times()

uint32_t kv_nvregion_get_use_times ( kv_page_location  page_location)

◆ kv_nvregion_init()

void kv_nvregion_init ( uint32_t  nv_data_addr,
uint32_t  nv_data_size,
uint32_t  nv_backup_addr,
uint32_t  nv_backup_size 
)

◆ kv_nvregion_scan()

errcode_t kv_nvregion_scan ( void  )

◆ kv_nvregion_write_page()

errcode_t kv_nvregion_write_page ( kv_page_location  page_location,
uint16_t  store_id,
uint8_t  page_index 
)

◆ nv_get_region_area()

kv_nvregion_area_t * nv_get_region_area ( void  )