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) |
详细说明
字段文档
int(* activate)(struct sensors_poll_device_t *dev, int sensor_handle, int enabled) |
struct hw_device_t common |
int(* poll)(struct sensors_poll_device_t *dev, sensors_event_t *data, int count) |
int(* setDelay)(struct sensors_poll_device_t *dev, int sensor_handle, int64_t sampling_period_ns) |
此结构体的文档是根据以下文件生成的:
- hardware/libhardware/include/hardware/ sensors.h