Home
last modified time | relevance | path

Searched refs:SENSOR_RATE_POWERING_OFF (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/src/
Dsensors.c33 #define SENSOR_RATE_POWERING_OFF 0xFFFFFFF1UL /* used in sensor state machine */ macro
385 else if (s->currentRate == SENSOR_RATE_POWERING_OFF) { in sensorReconfig()
400 s->currentRate = SENSOR_RATE_POWERING_OFF; in sensorReconfig()
494 s->currentRate = SENSOR_RATE_POWERING_OFF; in sensorInternalFwStateChanged()
503 else if (s->currentRate == SENSOR_RATE_POWERING_OFF) { //we need to power off in sensorInternalFwStateChanged()
522 else if (s->currentRate == SENSOR_RATE_POWERING_OFF && !evt->value1) { //we're now off in sensorInternalPowerStateChanged()
529 …else if (s->currentRate == SENSOR_RATE_POWERING_OFF && evt->value1) { //we need to power back o… in sensorInternalPowerStateChanged()