Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c81 #define POWER_ON_BIT (1 << 0) macro
312 xfer->txrxBuf.bytes[1] = POWER_ON_BIT | WAIT_ENABLE_BIT | in setMode()
489 …writeRegister(AMS_TMD2772_REG_ENABLE, POWER_ON_BIT | PROX_ENABLE_BIT, SENSOR_STATE_CALIBRATE_ENABL… in handle_calibration_event()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c119 #define POWER_ON_BIT (1 << 0) macro
471 ((alsOn || proxOn) ? POWER_ON_BIT : 0) | in setMode()
541 (POWER_ON_BIT | ALS_ENABLE_BIT | ALS_INT_ENABLE_BIT), in sensorCalibrateAls()
626 return writeRegister(AMS_TMD4903_REG_ENABLE, POWER_ON_BIT, in sensorCalibrateProx()