加入收藏
举报
当前仅显示指定条件回帖 [ 展开查看全部 ]
02-14 20:03
#
文件名称:
wifiiot_partition-h.md
所在目录:
Openharmony v1.0 / docs / docs-en / api / api-LinkIoT
文件大小:
7.26 KB
下载地址:
fenwii/OpenHarmony
   
免责声明:本网站仅提供指向 GitHub 上的文件的链接,所有文件的版权归原作者所有,本网站不对文件内容的合法性、准确性或安全性承担任何责任。
文本预览:
# wifiiot\_partition.h
## **Overview**
**Related Modules:**
[Wifiiot](wifiiot.md)
**Description:**
Declares the partition interface functions.
These functions are used to initialize partitions and obtain partition tables.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Data Structures












Data Structure Name


Description


WifiIotFlashPartitionInfo


Describes an entry in a flash partition table.


WifiIotFlashPartitionTable


Describes a flash partition table.



## Macros









Macro Name and Value


Description


WIFI_IOT_FLASH_PARTITON_MAX 12


Indicates the maximum number of partition tables.



## Enumerations









Enumeration Name


Description


WifiIotFlashPartitionTableId { WIFI_IOT_FLASH_PARTITON_BOOT = 0, WIFI_IOT_FLASH_PARTITON_FACTORY_NV, WIFI_IOT_FLASH_PARTITON_NORMAL_NV, WIFI_IOT_FLASH_PARTITON_NORMAL_NV_BACKUP, WIFI_IOT_FLASH_PARTITON_KERNEL_A, WIFI_IOT_FLASH_PARTITON_KERNEL_B, WIFI_IOT_FLASH_PARTITON_HILINK, WIFI_IOT_FLASH_PARTITON_FILE_SYSTEM, WIFI_IOT_FLASH_PARTITON_USR_RESERVE, WIFI_IOT_FLASH_PARTITON_HILINK_PKI, WIFI_IOT_FLASH_PARTITON_CRASH_INFO, WIFI_IOT_FLASH_PARTITON_BOOT_BACK }


Indicates the partition table ID.



## Functions












Function Name


Description


FlashPartitionInit (void)


unsigned int


Initializes a flash partition.


GetPartitionTable (void)


WifiIotFlashPartitionTable *


Obtains a flash partition table.


点赞 回复
回帖
支持markdown部分语法 ?