Home
last modified time | relevance | path

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

/bsp/nuvoton/libraries/nu_packages/TPC/
A Dft5446.c22 static struct rt_i2c_client ft5446_client; variable
147 error = ft5446_read_reg(&ft5446_client, 0, (rt_uint8_t *)&sFtRegMap, sizeof(sFtRegMap)); in ft5446_read_point()
297 ft5446_client.bus = (struct rt_i2c_bus_device *)rt_device_find(cfg->dev_name); in rt_hw_ft5446_init()
299 if (ft5446_client.bus == RT_NULL) in rt_hw_ft5446_init()
305 if (rt_device_open((rt_device_t)ft5446_client.bus, RT_DEVICE_FLAG_RDWR) != RT_EOK) in rt_hw_ft5446_init()
311 … if (rt_device_control((rt_device_t)ft5446_client.bus, RT_I2C_DEV_CTRL_CLK, &bus_speed) != RT_EOK) in rt_hw_ft5446_init()
317 ft5446_client.client_addr = FT5446_ADDRESS; in rt_hw_ft5446_init()
319 ft5446_init(&ft5446_client); in rt_hw_ft5446_init()

Completed in 5 milliseconds