Home
last modified time | relevance | path

Searched refs:comm_rx (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c168 bool (*comm_rx)(uint8_t addr, uint16_t len, uint32_t delay, uint8_t state); member
399 if (!mTask.comm_rx(HTS221_WAI_REG_ADDR, 1, 1, SENSOR_VERIFY_ID)) { in handleCommDoneEvt()
463 mTask.comm_rx(HTS221_CALIB_DATA, sizeof(struct hts221_calib_data), 0, SENSOR_BOOT); in handleEvent()
477 mTask.comm_rx(HTS221_HUMIDITY_OUTL_REG_ADDR, 2, 1, SENSOR_READ_SAMPLES); in handleEvent()
502 mTask.comm_rx = i2c_read; in startTask()
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c181 bool (*comm_rx)(uint8_t addr, uint16_t len, uint32_t delay, uint8_t state); member
531 if (!mTask.comm_rx(LPS22HB_WAI_REG_ADDR, 1, 1, SENSOR_VERIFY_ID)) { in handleCommDoneEvt()
578 mTask.comm_rx(LPS22HB_PRESS_OUTXL_REG_ADDR, 3, 1, SENSOR_BARO_CAL_DONE); in handleCommDoneEvt()
662 mTask.comm_rx(LPS22HB_PRESS_OUTXL_REG_ADDR, 5, 1, SENSOR_READ_SAMPLES); in handleEvent()
676 mTask.comm_rx(LPS22HB_PRESS_OUTXL_REG_ADDR, 5, 1, SENSOR_READ_SAMPLES); in handleEvent()
723 mTask.comm_rx = i2c_read; in startTask()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c238 void (*comm_rx)(uint8_t addr, uint16_t len, uint32_t delay, bool last); member
585 mTask.comm_rx(ST_MAG40_OUTXL_REG_ADDR, 6, 10000, true); in magTestHandling()
614 mTask.comm_rx(ST_MAG40_OUTXL_REG_ADDR, 6, 10000, true); in magTestHandling()
784 mTask.comm_rx(ST_MAG40_OUTXL_REG_ADDR, 6, 0, true); in int2Evt()
872 mTask.comm_rx(ST_MAG40_OUTXL_REG_ADDR, 6, 0, false); in sensorInit()
894 mTask.comm_rx(ST_MAG40_WAI_REG_ADDR, 1, 0, true); in handleCommDoneEvt()
1022 mTask.comm_rx = i2c_read; in startTask()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c257 bool (*comm_rx)(uint8_t addr, uint16_t len, uint32_t delay, bool last); member
426 mTask.comm_rx(ST_ACC44_OUTXL_REG_ADDR, 6, 0, false); in st_acc44_SetRate()
509 mTask.comm_rx(ST_ACC44_OUTXL_REG_ADDR, 6, 0, true); in int2Evt()
693 if (!mTask.comm_rx(ST_ACC44_WAI_REG_ADDR, 1, 0, true)) { in st_acc44_handleCommDoneEvt()
820 mTask.comm_rx = st_acc44_i2c_read; in st_acc44_startTask()