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

#include <sensor.h>

成员变量

struct rt_device parent
 
struct rt_sensor_info info
 
struct rt_sensor_config config
 
void * data_buf
 
rt_size_t data_len
 
const struct rt_sensor_opsops
 
struct rt_sensor_modulemodule
 
rt_err_t(* irq_handle )(rt_sensor_t sensor)
 
rt_sensor_data_t data_buf
 

详细描述

在文件 sensor.h170 行定义.

结构体成员变量说明

◆ parent

struct rt_device rt_sensor_device::parent

在文件 sensor.h172 行定义.

◆ info

struct rt_sensor_info rt_sensor_device::info

在文件 sensor.h174 行定义.

◆ config

struct rt_sensor_config rt_sensor_device::config

在文件 sensor.h175 行定义.

◆ data_buf [1/2]

void* rt_sensor_device::data_buf

在文件 sensor.h177 行定义.

◆ data_len

rt_size_t rt_sensor_device::data_len

在文件 sensor.h178 行定义.

◆ ops

const struct rt_sensor_ops * rt_sensor_device::ops

在文件 sensor.h180 行定义.

◆ module

struct rt_sensor_module * rt_sensor_device::module

在文件 sensor.h182 行定义.

◆ irq_handle

rt_err_t(* rt_sensor_device::irq_handle)(rt_sensor_t sensor)

在文件 sensor.h184 行定义.

◆ data_buf [2/2]

rt_sensor_data_t rt_sensor_device::data_buf

在文件 sensor_v2.h323 行定义.