sensor_poll_device_1 Referensi Struktur
sensor_poll_device_1 Referensi Struktur
#include < sensors.h >
Bidang Data | |
Persatuan { | |
struct sensor_poll_device_t v0 | |
struktur { | |
struct hw_device_t umum | |
int(* aktifkan )(struct sensor_poll_device_t *dev, ke dalam pegangan_sensor, ke dalam diaktifkan) | |
int(* setDelay )(struct sensor_poll_device_t *dev, ke dalam sensor_handle, int64_t pengambilan sampel_periode_ns) | |
int(* jajak pendapat )(struct sensor_poll_device_t *pengembangan, sensor_event_t *data, jumlah int) | |
} | |
}; | |
ke dalam(* | batch )(struct sensor_poll_device_1 *dev, int sensor_handle, int flag, int64_t sampling_period_ns, int64_t max_report_latency_ns) |
ke dalam(* | siram )(struct sensor_poll_device_1 *dev, int sensor_handle) |
ke dalam(* | inject_sensor_data )(struct sensor_poll_device_1 *dev, const sensor_event_t *data) |
ruang kosong(* | Reserved_procs [7])(batal) |
Detil Deskripsi
Dokumentasi Lapangan
Persatuan { ... } |
int(* aktifkan)(struct sensor_poll_device_t *dev, int sensor_handle, int diaktifkan) |
int(* batch)(struct sensor_poll_device_1 *dev, int sensor_handle, int flag, int64_t sampling_period_ns, int64_t max_report_latency_ns) |
struct hw_device_t umum |
int(* siram)(struct sensor_poll_device_1 *dev, int sensor_handle) |
int(* inject_sensor_data)(struct sensor_poll_device_1 *dev, const sensor_event_t *data) |
int(* jajak pendapat)(struct sensor_poll_device_t *dev, sensor_event_t *data, int hitungan) |
int(* setDelay)(struct sensor_poll_device_t *dev, int sensor_handle, int64_t sampling_period_ns) |
struct sensor_poll_device_t v0 |
Dokumentasi untuk struct ini dihasilkan dari file berikut:
- perangkat keras/libhardware/termasuk/perangkat keras/ sensor.h