Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/inc/
Dsensors.h168 struct SensorOps { struct
169 …sorPower)(bool on, void *); /* -> SENSOR_INTERNAL_EVT_POWER_STATE_CHG (success) */
170 … (*sensorFirmwareUpload)(void *); /* -> SENSOR_INTERNAL_EVT_FW_STATE_CHG (rate or 0 if fail) */
171 bool (*sensorSetRate)(uint32_t rate, uint64_t latency, void *);
173 bool (*sensorFlush)(void *); //trigger a measurement for ondemand sensors (if supported)
174 bool (*sensorTriggerOndemand)(void *);
175 bool (*sensorCalibrate)(void *);
176 bool (*sensorCfgData)(void *cfgData, void *);
178 …id); //resend last state (if known), only for onchange-supporting sensors, to bring on a new client
182 …orMarshallData)(uint32_t yourEvtType, const void *yourEvtData, TaggedPtr *evtFreeingInfoP, void *);
[all …]