Searched refs:touch_dev (Results 1 – 5 of 5) sorted by relevance
| /bsp/renesas/ra8m1-ek/board/lvgl/ |
| A D | lv_port_indev.c | 24 static rt_device_t touch_dev; variable 35 rt_device_read(touch_dev, 0, read_data, 1); in touchpad_read() 51 rt_device_control(touch_dev, RT_TOUCH_CTRL_ENABLE_INT, RT_NULL); in touchpad_read() 65 touch_dev = rt_device_find("gt911"); in gt911_probe() 66 if (touch_dev == RT_NULL) in gt911_probe() 72 if (rt_device_open(touch_dev, RT_DEVICE_FLAG_INT_RX) != RT_EOK) in gt911_probe() 79 rt_device_control(touch_dev, RT_TOUCH_CTRL_GET_ID, id); in gt911_probe() 83 …rt_device_control(touch_dev, RT_TOUCH_CTRL_SET_X_RANGE, &x); /* if possible you can set your x y … in gt911_probe() 84 rt_device_control(touch_dev, RT_TOUCH_CTRL_SET_Y_RANGE, &y); in gt911_probe() 85 rt_device_control(touch_dev, RT_TOUCH_CTRL_GET_INFO, id); in gt911_probe() [all …]
|
| /bsp/renesas/ra8d1-ek/board/lvgl/ |
| A D | lv_port_indev.c | 24 static rt_device_t touch_dev; variable 35 rt_device_read(touch_dev, 0, read_data, 1); in touchpad_read() 51 rt_device_control(touch_dev, RT_TOUCH_CTRL_ENABLE_INT, RT_NULL); in touchpad_read() 65 touch_dev = rt_device_find("gt911"); in gt911_probe() 66 if (touch_dev == RT_NULL) in gt911_probe() 72 if (rt_device_open(touch_dev, RT_DEVICE_FLAG_INT_RX) != RT_EOK) in gt911_probe() 79 rt_device_control(touch_dev, RT_TOUCH_CTRL_GET_ID, id); in gt911_probe() 83 …rt_device_control(touch_dev, RT_TOUCH_CTRL_SET_X_RANGE, &x); /* if possible you can set your x y … in gt911_probe() 84 rt_device_control(touch_dev, RT_TOUCH_CTRL_SET_Y_RANGE, &y); in gt911_probe() 85 rt_device_control(touch_dev, RT_TOUCH_CTRL_GET_INFO, id); in gt911_probe() [all …]
|
| /bsp/renesas/ra6m3-hmi-board/board/lvgl/ |
| A D | lv_port_indev.c | 24 static rt_device_t touch_dev; variable 39 rt_device_read(touch_dev, 0, read_data, 1); in touchpad_read() 55 rt_device_control(touch_dev, RT_TOUCH_CTRL_ENABLE_INT, RT_NULL); in touchpad_read() 69 touch_dev = rt_device_find("gt911"); in gt911_probe() 70 if (touch_dev == RT_NULL) in gt911_probe() 76 if (rt_device_open(touch_dev, RT_DEVICE_FLAG_INT_RX) != RT_EOK) in gt911_probe() 83 rt_device_control(touch_dev, RT_TOUCH_CTRL_GET_ID, id); in gt911_probe() 87 …rt_device_control(touch_dev, RT_TOUCH_CTRL_SET_X_RANGE, &x); /* if possible you can set your x y … in gt911_probe() 88 rt_device_control(touch_dev, RT_TOUCH_CTRL_SET_Y_RANGE, &y); in gt911_probe() 89 rt_device_control(touch_dev, RT_TOUCH_CTRL_GET_INFO, id); in gt911_probe() [all …]
|
| /bsp/raspberry-pi/raspi4-32/driver/touch/ |
| A D | drv_xpt2046.c | 48 struct rt_spi_device *touch_dev = (struct rt_spi_device *)dev; in touch_read_x_y() local 86 rt_spi_transfer_message(touch_dev, &msg1); in touch_read_x_y() 109 struct rt_spi_device *touch_dev = (struct rt_spi_device *)dev; in read_tp() local 122 touch_read_x_y(touch_dev, x, y); in read_tp() 161 struct rt_spi_device *touch_dev; in touch_thread_entry() local 162 touch_dev = (struct rt_spi_device *)rt_device_find(TOUCH_DEVICE_NAME); in touch_thread_entry() 163 touch_dev->config.max_hz = TOUCH_SPI_MAX_FREQ; in touch_thread_entry() 164 if (!touch_dev) in touch_thread_entry() 172 read_tp(touch_dev, &x, &y); in touch_thread_entry()
|
| /bsp/stm32/stm32f469-st-disco/applications/lvgl/ |
| A D | lv_port_indev.c | 33 rt_device_t touch_dev; variable 38 rt_device_read(touch_dev, 0, read_data, 1); in input_read() 84 touch_dev = rt_device_find(TOUCH_DEV_NAME); in lv_hw_touch_init() 85 if (rt_device_open(touch_dev, RT_DEVICE_FLAG_RDONLY) != RT_EOK) in lv_hw_touch_init()
|
Completed in 11 milliseconds