sensors_poll_device_1 סימוכין למבנה
sensors_poll_device_1 סימוכין למבנה
#include < sensors.h >
שדות נתונים | |
איחוד { | |
struct sensors_poll_device_t v0 | |
struct { | |
struct hw_device_t נפוץ | |
int(* active )(struct sensors_poll_device_t *dev, int sensor_handle, int מופעל) | |
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 *נתונים, ספירת int) | |
} | |
}; | |
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) |
בָּטֵל(* | reserved_procs [7])(void) |
תיאור מפורט
תיעוד שטח
איגוד {...} |
int(* active)(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 נפוץ |
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 |
התיעוד עבור מבנה זה נוצר מהקובץ הבא:
- hardware/libhardware/include/hardware/ sensors.h