sensor_poll_device_1 Strukturreferenz
sensor_poll_device_1 Strukturreferenz
#include < sensors.h >
Datenfelder | |
Gewerkschaft { | |
struct sensores_poll_device_t v0 | |
struktur { | |
struct hw_device_t common | |
int(* activate )(struct sensores_poll_device_t *dev, int sensor_handle, int ermöglicht) | |
int(* setDelay )(struct sensores_poll_device_t *dev, int sensor_handle, int64_t sampling_period_ns) | |
int(* poll )(struct sensores_poll_device_t *dev, sensoren_event_t *data, int count) | |
} | |
}; | |
int(* | Batch )(struct sensor_poll_device_1 *dev, int sensor_handle, int flags, int64_t sampling_period_ns, int64_t max_report_latency_ns) |
int(* | bündig )(struct sensor_poll_device_1 *dev, int sensor_handle) |
int(* | inject_sensor_data )(struct sensores_poll_device_1 *dev, const sensores_event_t *data) |
Leere(* | reservierte_procs [7])(void) |
detaillierte Beschreibung
Felddokumentation
Gewerkschaft { ... } |
int(* activate)(struct sensor_poll_device_t *dev, int sensor_handle, int aktiviert) |
int(* Batch)(struct sensor_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 sensor_poll_device_1 *dev, int sensor_handle) |
int(* inject_sensor_data)(struct sensores_poll_device_1 *dev, const sensores_event_t *data) |
int(* poll)(struct sensores_poll_device_t *dev, sensores_event_t *data, int count) |
int(* setDelay)(struct sensor_poll_device_t *dev, int sensor_handle, int64_t sampling_period_ns) |
struct sensores_poll_device_t v0 |
Die Dokumentation für diese Struktur wurde aus der folgenden Datei generiert:
- hardware/libhardware/include/hardware/ sensors.h