Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/components/ft6x06/
Dfsl_ft6x06.c56 uint8_t i2c_buf[2]; in FT6X06_Init() local
72 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() local
112 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()