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

#include <rt_inputcapture.h>

成员变量

rt_err_t(* init )(struct rt_inputcapture_device *inputcapture)
 
rt_err_t(* open )(struct rt_inputcapture_device *inputcapture)
 
rt_err_t(* close )(struct rt_inputcapture_device *inputcapture)
 
rt_err_t(* get_pulsewidth )(struct rt_inputcapture_device *inputcapture, rt_uint32_t *pulsewidth_us)
 

详细描述

capture operators

在文件 rt_inputcapture.h42 行定义.

结构体成员变量说明

◆ init

rt_err_t(* rt_inputcapture_ops::init) (struct rt_inputcapture_device *inputcapture)

在文件 rt_inputcapture.h44 行定义.

◆ open

rt_err_t(* rt_inputcapture_ops::open) (struct rt_inputcapture_device *inputcapture)

在文件 rt_inputcapture.h45 行定义.

◆ close

rt_err_t(* rt_inputcapture_ops::close) (struct rt_inputcapture_device *inputcapture)

在文件 rt_inputcapture.h46 行定义.

◆ get_pulsewidth

rt_err_t(* rt_inputcapture_ops::get_pulsewidth) (struct rt_inputcapture_device *inputcapture, rt_uint32_t *pulsewidth_us)

在文件 rt_inputcapture.h47 行定义.