Home
last modified time | relevance | path

Searched defs:SensorOps (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/inc/
Dsensors.h156 struct SensorOps { struct
157 …sorPower)(bool on, void *); /* -> SENSOR_INTERNAL_EVT_POWER_STATE_CHG (success) */
158 … (*sensorFirmwareUpload)(void *); /* -> SENSOR_INTERNAL_EVT_FW_STATE_CHG (rate or 0 if fail) */
159 bool (*sensorSetRate)(uint32_t rate, uint64_t latency, void *);
161 bool (*sensorFlush)(void *); //trigger a measurement for ondemand sensors (if supported)
162 bool (*sensorTriggerOndemand)(void *);
163 bool (*sensorCalibrate)(void *);
164 bool (*sensorCfgData)(void *cfgData, void *);
166 …id); //resend last state (if known), only for onchange-supporting sensors, to bring on a new client
170 …orMarshallData)(uint32_t yourEvtType, const void *yourEvtData, TaggedPtr *evtFreeingInfoP, void *);