Lines Matching refs:I2CBuffer
28 uint8_t I2CBuffer[count+1]; in VL53L0X_WriteMulti() local
30 I2CBuffer[0] = index; in VL53L0X_WriteMulti()
31 memcpy(&I2CBuffer[1], pdata, count); in VL53L0X_WriteMulti()
33 status_int = i2c_write(Dev->i2c, I2CBuffer, count+1, Dev->I2cDevAddr); in VL53L0X_WriteMulti()
79 uint8_t I2CBuffer[3]; in VL53L0X_WrWord() local
81 I2CBuffer[0] = index; in VL53L0X_WrWord()
82 I2CBuffer[1] = data >> 8; in VL53L0X_WrWord()
83 I2CBuffer[2] = data & 0x00FF; in VL53L0X_WrWord()
85 status_int = i2c_write(Dev->i2c, I2CBuffer, 3, Dev->I2cDevAddr); in VL53L0X_WrWord()
98 uint8_t I2CBuffer[5]; in VL53L0X_WrDWord() local
100 I2CBuffer[0] = index; in VL53L0X_WrDWord()
101 I2CBuffer[1] = (data >> 24) & 0xFF; in VL53L0X_WrDWord()
102 I2CBuffer[2] = (data >> 16) & 0xFF; in VL53L0X_WrDWord()
103 I2CBuffer[3] = (data >> 8) & 0xFF; in VL53L0X_WrDWord()
104 I2CBuffer[4] = (data >> 0) & 0xFF; in VL53L0X_WrDWord()
106 status_int = i2c_write(Dev->i2c, I2CBuffer, 5, Dev->I2cDevAddr); in VL53L0X_WrDWord()