Sensors_poll_device_t 结构参考
Sensors_poll_device_t 结构参考
#include < sensors.h >
数据字段 | |
结构体hw_device_t | 常见的 |
整数(* | 激活)(结构sensors_poll_device_t *dev,intsensor_handle,int启用) |
整数(* | setDelay )( structsensors_poll_device_t *dev, intsensor_handle,int64_tsampling_period_ns) |
整数(* | 轮询)(结构sensors_poll_device_t * dev, sensors_event_t *数据,int计数) |
详细说明
现场文档
int(* activate)( structsensors_poll_device_t *dev,intsensor_handle,intenabled) |
结构体hw_device_t公共 |
int(* poll)(结构sensors_poll_device_t *dev, sensors_event_t *data, int count) |
int(* setDelay)( structsensors_poll_device_t *dev,intsensor_handle,int64_tsampling_period_ns) |
该结构的文档是从以下文件生成的:
- 硬件/libhardware/include/hardware/sensors.h