xt-sdk 文档 v1.0.3
xt-sdk 嵌入式 SDK API 参考
载入中...
搜索中...
未找到
xt_fal_flash结构体 参考

#include <xt_fal.h>

成员变量

char name [16]
xt_fal_size_t addr
xt_fal_size_t size
xt_fal_size_t block_size
xt_fal_size_t io_size
struct xt_fal_flash_ops ops

详细描述

在文件 xt_fal.h 第 70 行定义.

结构体成员变量说明

◆ addr

xt_fal_size_t xt_fal_flash::addr

flash 设备起始地址

在文件 xt_fal.h 第 72 行定义.

◆ block_size

xt_fal_size_t xt_fal_flash::block_size

块大小。最小擦除大小。单位: byte.

在文件 xt_fal.h 第 74 行定义.

◆ io_size

xt_fal_size_t xt_fal_flash::io_size

最小读写单元大小,单位: byte.

在文件 xt_fal.h 第 75 行定义.

◆ name

char xt_fal_flash::name[16]

flash 设备名称,如 "internal"、"external",禁止重复

在文件 xt_fal.h 第 71 行定义.

◆ ops

struct xt_fal_flash_ops xt_fal_flash::ops

flash 操作函数

在文件 xt_fal.h 第 76 行定义.

◆ size

xt_fal_size_t xt_fal_flash::size

flash 设备大小(起始地址之后的)

在文件 xt_fal.h 第 73 行定义.


该结构体的文档由以下文件生成: