Searched refs:comm_tx (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 237 void (*comm_tx)(uint8_t addr, uint8_t data, uint32_t delay, bool last); member 570 mTask.comm_tx(ST_MAG40_CFG_A_REG_ADDR, ST_MAG40_ODR_100_HZ, 0, false); in magTestHandling() 571 mTask.comm_tx(ST_MAG40_CFG_B_REG_ADDR, ST_MAG40_OFF_CANC, 0, false); in magTestHandling() 572 mTask.comm_tx(ST_MAG40_CFG_C_REG_ADDR, ST_MAG40_BDU_ON, 0, true); in magTestHandling() 601 mTask.comm_tx(ST_MAG40_CFG_C_REG_ADDR, ST_MAG40_BDU_ON | ST_MAG40_SELFTEST_EN, 0, true); in magTestHandling() 642 … mTask.comm_tx(ST_MAG40_CFG_A_REG_ADDR, ST_MAG40_TEMP_COMP_EN | ST_MAG40_POWER_IDLE, 0, false); in magTestHandling() 643 mTask.comm_tx(ST_MAG40_CFG_C_REG_ADDR, ST_MAG40_BDU_ON | ST_MAG40_INT_MAG, 0, true); in magTestHandling() 814 mTask.comm_tx(ST_MAG40_CFG_B_REG_ADDR, ST_MAG40_OFF_CANC, 0, false); in sensorMagConfig() 815 mTask.comm_tx(ST_MAG40_CFG_A_REG_ADDR, in sensorMagConfig() 828 mTask.comm_tx(ST_MAG40_CFG_A_REG_ADDR, in sensorMagConfig() [all …]
|
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 256 bool (*comm_tx)(uint8_t addr, uint8_t data, uint32_t delay, bool last); member 385 ret = mTask.comm_tx(ST_ACC44_CTRL1_REG, ST_ACC44_ODR_12_5_HZ | in st_acc44_Power() 388 ret = mTask.comm_tx(ST_ACC44_CTRL1_REG, ST_ACC44_ODR_POWER_DOWN | in st_acc44_Power() 427 mTask.comm_tx(ST_ACC44_CTRL4_REG, ST_ACC44_CTRL4_INT1_DRDY, 0, false); in st_acc44_SetRate() 428 mTask.comm_tx(ST_ACC44_CTRL1_REG, mTask.currentODR | ST_ACC44_CTRL1_DEFVAL, 0, true); in st_acc44_SetRate() 709 … mTask.comm_tx(ST_ACC44_CTRL1_REG, ST_ACC44_ODR_POWER_DOWN | ST_ACC44_CTRL1_DEFVAL, 0, false); in st_acc44_handleCommDoneEvt() 710 mTask.comm_tx(ST_ACC44_CTRL2_REG, ST_ACC44_CTRL2_DEFVAL, 0, false); in st_acc44_handleCommDoneEvt() 711 mTask.comm_tx(ST_ACC44_CTRL3_REG, ST_ACC44_CTRL3_LIR, 0, false); in st_acc44_handleCommDoneEvt() 712 mTask.comm_tx(ST_ACC44_CTRL6_REG, ST_ACC44_CTRL6_FS_8G, 0, false); in st_acc44_handleCommDoneEvt() 713 mTask.comm_tx(ST_ACC44_CTRL4_REG, 0, 0, true); in st_acc44_handleCommDoneEvt() [all …]
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
D | lps22hb.c | 180 bool (*comm_tx)(uint8_t addr, uint8_t data, uint32_t delay, uint8_t state); member 367 ret = mTask.comm_tx(LPS22HB_ODR_REG_ADDR, LPS22HB_ODR_10_HZ, 0, state); in baroPower() 369 ret = mTask.comm_tx(LPS22HB_ODR_REG_ADDR, LPS22HB_ODR_ONE_SHOT, 0, state); in baroPower() 418 mTask.comm_tx(LPS22HB_RPDS_L, 0, 0, SENSOR_BARO_START_CAL); in baroCalibrate() 441 ret = mTask.comm_tx(LPS22HB_RPDS_L, mTask.offset_L, 0, SENSOR_BARO_SET_OFFSET); in baroCfgData() 464 ret = mTask.comm_tx(LPS22HB_ODR_REG_ADDR, LPS22HB_ODR_10_HZ, 0, state); in tempPower() 466 ret = mTask.comm_tx(LPS22HB_ODR_REG_ADDR, LPS22HB_ODR_ONE_SHOT, 0, state); in tempPower() 574 mTask.comm_tx(LPS22HB_RPDS_H, 0, 0, SENSOR_BARO_READ_CAL_MEAS); in handleCommDoneEvt() 591 mTask.comm_tx(LPS22HB_RPDS_H, mTask.offset_H, 0, SENSOR_BARO_CFG_DONE); in handleCommDoneEvt() 644 mTask.comm_tx(LPS22HB_SOFT_RESET_REG_ADDR, in handleEvent() [all …]
|
/device/google/contexthub/firmware/os/drivers/st_hts221/ |
D | hts221.c | 167 bool (*comm_tx)(uint8_t addr, uint8_t data, uint32_t delay, uint8_t state); member 320 ret = mTask.comm_tx(HTS221_CTRL_REG1, HTS221_POWER_ON | HTS221_ODR_12_5_HZ, 0, state); in humidityPower() 322 ret = mTask.comm_tx(HTS221_CTRL_REG1, HTS221_POWER_OFF, 0, state); in humidityPower() 501 mTask.comm_tx = i2c_write; in startTask()
|