|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "nv_nvregion.h"#include "nv_page.h"#include "nv_store.h"#include "nv_porting.h"#include "nv_config.h"#include "common_def.h"
函数 | |
| kv_nvregion_map_t * | kv_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_t * | nv_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) |
| errcode_t kv_nvregion_create_page | ( | uint16_t | store_id, |
| uint8_t | page_index | ||
| ) |
| errcode_t kv_nvregion_erase_page | ( | kv_page_location | page_location | ) |
| 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 | ) |
| STATIC void kv_nvregion_free_resource | ( | void | ) |
| kv_nvregion_map_t * kv_nvregion_get_map | ( | 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 | ) |
| 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_write_page | ( | kv_page_location | page_location, |
| uint16_t | store_id, | ||
| uint8_t | page_index | ||
| ) |
| kv_nvregion_area_t * nv_get_region_area | ( | void | ) |