sensors_poll_device_1 Struct Reference
sensors_poll_device_1 Struct Reference
#include <
sensors.h
>
Data Fields |
|
union { | |
struct sensors_poll_device_t v0 | |
struct { | |
struct hw_device_t common | |
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(* | batch )(struct sensors_poll_device_1 *dev, int sensor_handle, int flags, int64_t sampling_period_ns, int64_t max_report_latency_ns) |
int(* | flush )(struct sensors_poll_device_1 *dev, int sensor_handle) |
int(* | inject_sensor_data )(struct sensors_poll_device_1 *dev, const sensors_event_t *data) |
void(* | reserved_procs [7])(void) |
Detailed Description
Field Documentation
union { ... } |
int(* activate)(struct sensors_poll_device_t *dev, int sensor_handle, int enabled) |
int(* batch)(struct sensors_poll_device_1 *dev, int sensor_handle, int flags, int64_t sampling_period_ns, int64_t max_report_latency_ns) |
struct hw_device_t common |
int(* flush)(struct sensors_poll_device_1 *dev, int sensor_handle) |
int(* inject_sensor_data)(struct sensors_poll_device_1 *dev, const sensors_event_t *data) |
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) |
struct sensors_poll_device_t v0 |
The documentation for this struct was generated from the following file:
- hardware/libhardware/include/hardware/ sensors.h