1 Star 0 Fork 4.9K

Lin_bruin / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
wifiiot_partition-h.md 7.32 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

wifiiot_partition.h

Overview

Related Modules:

Wifiiot

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.

1
https://gitee.com/dreaminghell/docs.git
git@gitee.com:dreaminghell/docs.git
dreaminghell
docs
docs
master

搜索帮助