1 Star 0 Fork 4.9K

Lin_bruin / docs

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

wifiiot_flash.h

Overview

Related Modules:

Wifiiot

Description:

Declares the flash interface functions.

These functions are used to initialize or deinitialize a flash device, and read data from or write data to a flash memory.

Since:

1.0

Version:

1.0

Summary

Functions

Function Name

Description

FlashRead (const unsigned int flashOffset, const unsigned int size, unsigned char *ramData)

unsigned int 

Reads data from a flash memory address.

FlashWrite (const unsigned int flashOffset, unsigned int size, const unsigned char *ramData, unsigned char doErase)

unsigned int 

Writes data to a flash memory address.

FlashErase (const unsigned int flashOffset, const unsigned int size)

unsigned int 

Erases data in a specified flash memory address.

FlashInit (void)

unsigned int 

Initializes the flash device.

FlashDeinit (void)

unsigned int 

Deinitializes the flash device.

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

搜索帮助