RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
rt_mtd_nor_driver_ops结构体 参考

#include <mtd_nor.h>

成员变量

rt_err_t(* read_id )(struct rt_mtd_nor_device *device)
 
rt_ssize_t(* read )(struct rt_mtd_nor_device *device, rt_off_t offset, rt_uint8_t *data, rt_size_t length)
 
rt_ssize_t(* write )(struct rt_mtd_nor_device *device, rt_off_t offset, const rt_uint8_t *data, rt_size_t length)
 
rt_err_t(* erase_block )(struct rt_mtd_nor_device *device, rt_off_t offset, rt_size_t length)
 

详细描述

在文件 mtd_nor.h31 行定义.

结构体成员变量说明

◆ read_id

rt_err_t(* rt_mtd_nor_driver_ops::read_id) (struct rt_mtd_nor_device *device)

在文件 mtd_nor.h33 行定义.

◆ read

rt_ssize_t(* rt_mtd_nor_driver_ops::read) (struct rt_mtd_nor_device *device, rt_off_t offset, rt_uint8_t *data, rt_size_t length)

在文件 mtd_nor.h35 行定义.

◆ write

rt_ssize_t(* rt_mtd_nor_driver_ops::write) (struct rt_mtd_nor_device *device, rt_off_t offset, const rt_uint8_t *data, rt_size_t length)

在文件 mtd_nor.h36 行定义.

◆ erase_block

rt_err_t(* rt_mtd_nor_driver_ops::erase_block) (struct rt_mtd_nor_device *device, rt_off_t offset, rt_size_t length)

在文件 mtd_nor.h38 行定义.