Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c133 bool baroOn; member
313 bool oldMode = mTask.baroOn || mTask.tempOn; in sensorPowerBaro()
337 mTask.baroOn = false; in sensorPowerBaro()
351 mTask.baroOn = on; in sensorPowerBaro()
377 if (mTask.baroOn || mTask.tempOn) { in sensorCalibrateBaro()
388 mTask.baroOn = true; in sensorCalibrateBaro()
402 bool oldMode = mTask.baroOn || mTask.tempOn; in sensorPowerTemp()
403 bool newMode = on || mTask.baroOn; in sensorPowerTemp()
580 mTask.baroOn = true; in handleI2cEvent()
586 mTask.baroOn = true; in handleI2cEvent()
[all …]
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c165 bool baroOn; member
353 bool oldMode = mTask.baroOn || mTask.tempOn; in baroPower()
380 mTask.baroOn = on; in baroPower()
412 if (mTask.baroOn) { in baroCalibrate()
450 bool oldMode = mTask.baroOn || mTask.tempOn; in tempPower()
451 bool newMode = on || mTask.baroOn; in tempPower()
598 if (mTask.baroOn && mTask.baroWantRead) { in handleCommDoneEvt()
705 mTask.baroOn = mTask.tempOn = false; in startTask()