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

#include <dev_spi.h>

成员变量

rt_err_t(* configure )(struct rt_spi_device *device, struct rt_spi_configuration *configuration)
 
rt_ssize_t(* xfer )(struct rt_spi_device *device, struct rt_spi_message *message)
 

详细描述

SPI operators

在文件 dev_spi.h190 行定义.

结构体成员变量说明

◆ configure

rt_err_t(* rt_spi_ops::configure) (struct rt_spi_device *device, struct rt_spi_configuration *configuration)

在文件 dev_spi.h192 行定义.

◆ xfer

rt_ssize_t(* rt_spi_ops::xfer) (struct rt_spi_device *device, struct rt_spi_message *message)

在文件 dev_spi.h193 行定义.