1 Star 0 Fork 4.9K

famoustang / docs

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

OsalFwBlock

Overview

Related Modules:

OSAL

Description:

Defines the data structure for reading a firmware file.

This structure declares the firmware block to read each time. The firmware file can be read in split mode.

Summary

Data Fields

Variable Name

Description

data

uint8_t * 

endFlag

bool 

dataSize

uint32_t 

curOffset

int32_t 

Details

Field Documentation

curOffset

int32_t OsalFwBlock::curOffset

Description:

Offset in the firmware file

data

uint8_t* OsalFwBlock::data

Description:

Firmware content read this time. You do not need to allocate space.

dataSize

uint32_t OsalFwBlock::dataSize

Description:

Firmware block size read this time

endFlag

bool OsalFwBlock::endFlag

Description:

Whether the firmware file is read completely

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

搜索帮助