| 111 | } |
| 112 | |
| 113 | static rt_err_t rt_touch_close(rt_device_t dev) |
| 114 | { |
| 115 | rt_touch_t touch; |
| 116 | RT_ASSERT(dev != RT_NULL); |
| 117 | touch = (rt_touch_t)dev; |
| 118 | |
| 119 | /* touch disable interrupt */ |
| 120 | rt_touch_irq_disable(touch); |
| 121 | |
| 122 | return RT_EOK; |
| 123 | } |
| 124 | |
| 125 | static rt_ssize_t rt_touch_read(rt_device_t dev, rt_off_t pos, void *buf, rt_size_t len) |
| 126 | { |
nothing calls this directly
no test coverage detected