Home
last modified time | relevance | path

Searched refs:status_int (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/sensor/st/vl53l0x/
Dvl53l0x_platform.c27 int32_t status_int = 0; in VL53L0X_WriteMulti() local
33 status_int = i2c_write(Dev->i2c, I2CBuffer, count+1, Dev->I2cDevAddr); in VL53L0X_WriteMulti()
35 if (status_int < 0) { in VL53L0X_WriteMulti()
47 int32_t status_int; in VL53L0X_ReadMulti() local
49 status_int = i2c_burst_read(Dev->i2c, Dev->I2cDevAddr, index, pdata, in VL53L0X_ReadMulti()
51 if (status_int < 0) { in VL53L0X_ReadMulti()
63 int32_t status_int; in VL53L0X_WrByte() local
65 status_int = i2c_reg_write_byte(Dev->i2c, Dev->I2cDevAddr, index, data); in VL53L0X_WrByte()
67 if (status_int < 0) { in VL53L0X_WrByte()
78 int32_t status_int; in VL53L0X_WrWord() local
[all …]
/Zephyr-latest/drivers/sensor/st/vl53l1x/
Dvl53l1_platform.c27 int32_t status_int = 0; in VL53L1_WriteMulti() local
36 status_int = i2c_write_dt(pdev->i2c, buffer, count + 2); in VL53L1_WriteMulti()
38 if (status_int < 0) { in VL53L1_WriteMulti()
50 int32_t status_int = 0; in VL53L1_ReadMulti() local
54 status_int = i2c_write_read_dt(pdev->i2c, (uint8_t *)(&reg), 2, pdata, count); in VL53L1_ReadMulti()
56 if (status_int < 0) { in VL53L1_ReadMulti()
/Zephyr-latest/drivers/sensor/bosch/bmg160/
Dbmg160_trigger.c167 uint8_t status_int[4]; in bmg160_handle_int() local
169 if (bmg160_read(dev, BMG160_REG_INT_STATUS0, status_int, 4) < 0) { in bmg160_handle_int()
173 if (status_int[0] & BMG160_ANY_INT) { in bmg160_handle_int()