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

#include <dev_can.h>

成员变量

rt_err_t(* configure )(struct rt_can_device *can, struct can_configure *cfg)
 
rt_err_t(* control )(struct rt_can_device *can, int cmd, void *arg)
 
rt_ssize_t(* sendmsg )(struct rt_can_device *can, const void *buf, rt_uint32_t boxno)
 
rt_ssize_t(* recvmsg )(struct rt_can_device *can, void *buf, rt_uint32_t boxno)
 

详细描述

CAN operators

在文件 dev_can.h514 行定义.

结构体成员变量说明

◆ configure

rt_err_t(* rt_can_ops::configure) (struct rt_can_device *can, struct can_configure *cfg)

在文件 dev_can.h516 行定义.

◆ control

rt_err_t(* rt_can_ops::control) (struct rt_can_device *can, int cmd, void *arg)

在文件 dev_can.h517 行定义.

◆ sendmsg

rt_ssize_t(* rt_can_ops::sendmsg) (struct rt_can_device *can, const void *buf, rt_uint32_t boxno)

在文件 dev_can.h518 行定义.

◆ recvmsg

rt_ssize_t(* rt_can_ops::recvmsg) (struct rt_can_device *can, void *buf, rt_uint32_t boxno)

在文件 dev_can.h519 行定义.