Searched refs:capt_obj (Results 1 – 1 of 1) sorted by relevance
41 static capt_t capt_obj; variable181 capt_obj.bus = (struct rt_i2c_bus_device*)rt_device_find(BSP_TOUCH_I2C_BUS); in drv_capt_hw_init()182 if(capt_obj.bus == RT_NULL) in drv_capt_hw_init()188 capt_obj.gt911.user_data = capt_obj.parent.user_data = &capt_obj; in drv_capt_hw_init()189 capt_obj.gt911.ops.xfer = ctp_impl_xfer; in drv_capt_hw_init()190 if(gt911_ctp_init(&capt_obj.gt911) != RT_EOK) in drv_capt_hw_init()194 rt_device_register(&capt_obj.parent, "capt", RT_DEVICE_FLAG_RDWR); in drv_capt_hw_init()
Completed in 7 milliseconds