sensors_poll_device_t 结构体参考文档

sensors_poll_device_t 结构体参考文档

#include < sensors.h >

数据字段

struct hw_device_t   常见
 
int(*  activate )(struct sensors_poll_device_t *dev, int sensor_handle, int enabled)
 
int(*  setDelay )(struct sensors_poll_device_t *dev, int sensor_handle, int64_t sampling_period_ns)
 
int(*  poll )(struct sensors_poll_device_t *dev, sensors_event_t *data, int count)
 

详细说明

定义位于文件 sensors.h 的 1288 行。

字段文档

int(* activate)(struct sensors_poll_device_t *dev, int sensor_handle, int enabled)

定义位于文件 sensors.h 的 1290 行 。

struct hw_device_t common

定义位于文件 sensors.h 的 1289 行。

int(* poll)(struct sensors_poll_device_t *dev, sensors_event_t *data, int count)

定义位于文件 sensors.h 的 1294 行。

int(* setDelay)(struct sensors_poll_device_t *dev, int sensor_handle, int64_t sampling_period_ns)

定义位于文件 sensors.h 的 1292 行 。


此结构体的文档是根据以下文件生成的: