Lines Matching refs:ft8xx
37 const struct device *ft8xx = DEVICE_DT_GET_ONE(ftdi_ft800); in main() local
42 if (!device_is_ready(ft8xx)) { in main()
48 ft8xx_calibrate(ft8xx, &tt); in main()
51 ft8xx_register_int(ft8xx, touch_irq, NULL); in main()
59 ft8xx_copro_cmd_dlstart(ft8xx); in main()
60 ft8xx_copro_cmd(ft8xx, FT8XX_CLEAR_COLOR_RGB(0x00, 0x00, 0x00)); in main()
61 ft8xx_copro_cmd(ft8xx, FT8XX_CLEAR(1, 1, 1)); in main()
64 ft8xx_copro_cmd(ft8xx, FT8XX_COLOR_RGB(0xf0, 0xf0, 0xf0)); in main()
67 ft8xx_copro_cmd_number(ft8xx, 20, 20, 29, FT8XX_OPT_SIGNED, cnt); in main()
71 ft8xx_copro_cmd_text(ft8xx, 20, 70, 30, 0, "Hello,"); in main()
73 ft8xx_copro_cmd(ft8xx, FT8XX_COLOR_RGB(0x78, 0x29, 0xd2)); in main()
74 ft8xx_copro_cmd_text(ft8xx, 20, 105, 30, 0, "Zephyr!"); in main()
77 ft8xx_copro_cmd(ft8xx, FT8XX_COLOR_RGB(0xff, 0xff, 0xff)); in main()
78 ft8xx_copro_cmd_number(ft8xx, 80, 170, 29, in main()
81 ft8xx_copro_cmd(ft8xx, FT8XX_TAG(TAG_PLUS)); in main()
82 ft8xx_copro_cmd_text(ft8xx, 90, 160, 31, 0, "+"); in main()
83 ft8xx_copro_cmd(ft8xx, FT8XX_TAG(TAG_MINUS)); in main()
84 ft8xx_copro_cmd_text(ft8xx, 20, 160, 31, 0, "-"); in main()
87 ft8xx_copro_cmd(ft8xx, FT8XX_DISPLAY()); in main()
89 ft8xx_copro_cmd_swap(ft8xx); in main()
92 int tag = ft8xx_get_touch_tag(ft8xx); in main()