WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
nv_nvregion.c 文件参考
#include "nv_nvregion.h"
#include "nv_page.h"
#include "nv_store.h"
#include "nv_porting.h"
#include "nv_config.h"
#include "common_def.h"
nv_nvregion.c 的引用(Include)关系图:

函数

kv_nvregion_map_tkv_nvregion_get_map (void)
 
uint32_t kv_nvregion_get_use_times (kv_page_location page_location)
 
STATIC void kv_nvregion_free_resource (void)
 
STATIC errcode_t kv_nvregion_init_map (void)
 
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_area_tnv_get_region_area (void)
 
errcode_t kv_nvregion_scan (void)
 
errcode_t kv_nvregion_create_page (uint16_t store_id, uint8_t page_index)
 
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_write_page (kv_page_location page_location, uint16_t store_id, uint8_t page_index)
 
uint32_t kv_nvregion_get_page_number (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_free_resource()

STATIC void kv_nvregion_free_resource ( void  )

◆ 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_init_map()

STATIC errcode_t kv_nvregion_init_map ( void  )

◆ 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  )