Searched refs:i2c_buf (Results 1 – 1 of 1) sorted by relevance
56 uint8_t i2c_buf[2]; in FT6X06_Init() local72 i2c_buf[0] = 0; /* mode register address */ in FT6X06_Init()73 i2c_buf[1] = 0; /* normal operation mode */ in FT6X06_Init()75 if (handle->i2c_driver->MasterTransmit(FT6X06_I2C_ADDRESS, i2c_buf, 2, false) != ARM_DRIVER_OK) in FT6X06_Init()103 uint8_t i2c_buf[1]; in FT6X06_ReadTouchData() local112 i2c_buf[0] = F6X06_TOUCH_DATA_SUBADDR; in FT6X06_ReadTouchData()114 if (handle->i2c_driver->MasterTransmit(FT6X06_I2C_ADDRESS, i2c_buf, 1, true) != ARM_DRIVER_OK) in FT6X06_ReadTouchData()