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

#include <xt_fal.h>

成员变量

void(* ctrl )(uint32_t cmd, void *arg)
int32_t(* read )(xt_fal_size_t offset, void *dst, xt_fal_size_t size)
int32_t(* write )(xt_fal_size_t offset, const void *src, xt_fal_size_t size)
int32_t(* erase )(xt_fal_size_t offset, xt_fal_size_t size)

详细描述

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

结构体成员变量说明

◆ ctrl

void(* xt_fal_flash_ops::ctrl) (uint32_t cmd, void *arg)

控制函数: init/deinit 等,见 XT_FAL_CTRL_*

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

◆ erase

int32_t(* xt_fal_flash_ops::erase) (xt_fal_size_t offset, xt_fal_size_t size)

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

◆ read

int32_t(* xt_fal_flash_ops::read) (xt_fal_size_t offset, void *dst, xt_fal_size_t size)

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

◆ write

int32_t(* xt_fal_flash_ops::write) (xt_fal_size_t offset, const void *src, xt_fal_size_t size)

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


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