HomeSort by relevance Sort by last modified time
    Searched refs:comm_tx (Results 1 - 4 of 4) sorted by null

  /device/google/contexthub/firmware/os/drivers/st_acc44/
st_acc44.c 256 bool (*comm_tx)(uint8_t addr, uint8_t data, uint32_t delay, bool last); member in struct:st_acc44_Task
385 ret = mTask.comm_tx(ST_ACC44_CTRL1_REG, ST_ACC44_ODR_12_5_HZ |
388 ret = mTask.comm_tx(ST_ACC44_CTRL1_REG, ST_ACC44_ODR_POWER_DOWN |
427 mTask.comm_tx(ST_ACC44_CTRL4_REG, ST_ACC44_CTRL4_INT1_DRDY, 0, false);
428 mTask.comm_tx(ST_ACC44_CTRL1_REG, mTask.currentODR | ST_ACC44_CTRL1_DEFVAL, 0, true);
709 mTask.comm_tx(ST_ACC44_CTRL1_REG, ST_ACC44_ODR_POWER_DOWN | ST_ACC44_CTRL1_DEFVAL, 0, false);
710 mTask.comm_tx(ST_ACC44_CTRL2_REG, ST_ACC44_CTRL2_DEFVAL, 0, false);
711 mTask.comm_tx(ST_ACC44_CTRL3_REG, ST_ACC44_CTRL3_LIR, 0, false);
712 mTask.comm_tx(ST_ACC44_CTRL6_REG, ST_ACC44_CTRL6_FS_8G, 0, false);
713 mTask.comm_tx(ST_ACC44_CTRL4_REG, 0, 0, true)
    [all...]
  /device/google/contexthub/firmware/os/drivers/st_lps22hb/
lps22hb.c 180 bool (*comm_tx)(uint8_t addr, uint8_t data, uint32_t delay, uint8_t state); member in struct:lps22hbTask
367 ret = mTask.comm_tx(LPS22HB_ODR_REG_ADDR, LPS22HB_ODR_10_HZ, 0, state);
369 ret = mTask.comm_tx(LPS22HB_ODR_REG_ADDR, LPS22HB_ODR_ONE_SHOT, 0, state);
375 DEBUG_PRINT("baroPower comm_tx failed\n");
418 mTask.comm_tx(LPS22HB_RPDS_L, 0, 0, SENSOR_BARO_START_CAL);
441 ret = mTask.comm_tx(LPS22HB_RPDS_L, mTask.offset_L, 0, SENSOR_BARO_SET_OFFSET);
443 DEBUG_PRINT("baroCfgData: comm_tx failed\n");
464 ret = mTask.comm_tx(LPS22HB_ODR_REG_ADDR, LPS22HB_ODR_10_HZ, 0, state);
466 ret = mTask.comm_tx(LPS22HB_ODR_REG_ADDR, LPS22HB_ODR_ONE_SHOT, 0, state);
472 DEBUG_PRINT("tempPower comm_tx failed\n")
    [all...]
  /device/google/contexthub/firmware/os/drivers/st_mag40/
st_mag40.c 237 void (*comm_tx)(uint8_t addr, uint8_t data, uint32_t delay, bool last); member in struct:st_mag40_Task
570 mTask.comm_tx(ST_MAG40_CFG_A_REG_ADDR, ST_MAG40_ODR_100_HZ, 0, false);
571 mTask.comm_tx(ST_MAG40_CFG_B_REG_ADDR, ST_MAG40_OFF_CANC, 0, false);
572 mTask.comm_tx(ST_MAG40_CFG_C_REG_ADDR, ST_MAG40_BDU_ON, 0, true);
601 mTask.comm_tx(ST_MAG40_CFG_C_REG_ADDR, ST_MAG40_BDU_ON | ST_MAG40_SELFTEST_EN, 0, true);
642 mTask.comm_tx(ST_MAG40_CFG_A_REG_ADDR, ST_MAG40_TEMP_COMP_EN | ST_MAG40_POWER_IDLE, 0, false);
643 mTask.comm_tx(ST_MAG40_CFG_C_REG_ADDR, ST_MAG40_BDU_ON | ST_MAG40_INT_MAG, 0, true);
814 mTask.comm_tx(ST_MAG40_CFG_B_REG_ADDR, ST_MAG40_OFF_CANC, 0, false);
815 mTask.comm_tx(ST_MAG40_CFG_A_REG_ADDR,
828 mTask.comm_tx(ST_MAG40_CFG_A_REG_ADDR
    [all...]
  /device/google/contexthub/firmware/os/drivers/st_hts221/
hts221.c 167 bool (*comm_tx)(uint8_t addr, uint8_t data, uint32_t delay, uint8_t state); member in struct:hts221Task
320 ret = mTask.comm_tx(HTS221_CTRL_REG1, HTS221_POWER_ON | HTS221_ODR_12_5_HZ, 0, state);
322 ret = mTask.comm_tx(HTS221_CTRL_REG1, HTS221_POWER_OFF, 0, state);
328 DEBUG_PRINT("humidityPower comm_tx failed\n");
501 mTask.comm_tx = i2c_write;

Completed in 1088 milliseconds