Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/inc/
Dsensors_priv.h62 #define SENSOR_RATE_POWERING_ON UINT32_C(0xFFFFFFF0) /* used in sensor state machine */ macro
/device/google/contexthub/firmware/os/core/
Dsensors.c358 s->currentRate = SENSOR_RATE_POWERING_ON; in sensorReconfig()
364 s->currentRate = SENSOR_RATE_POWERING_ON; in sensorReconfig()
367 …else if (s->currentRate == SENSOR_RATE_POWERING_ON || s->currentRate == SENSOR_RATE_FW_UPLOADING) { in sensorReconfig()
499 …if (s->currentRate == SENSOR_RATE_POWERING_ON && evt->value1) { //we're now on - upload f… in sensorInternalPowerStateChanged()
510 …else if (s->currentRate == SENSOR_RATE_POWERING_ON && !evt->value1) { //we need to power back on in sensorInternalPowerStateChanged()
526 if (s && s->currentRate != SENSOR_RATE_OFF && s->currentRate < SENSOR_RATE_POWERING_ON) { in sensorInternalRateChanged()
Dnanohub_chre.c270 || s->currentRate >= SENSOR_RATE_POWERING_ON) { in osChreSensorGetSamplingStatus()