ft6236.h 496 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2006-2020, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2019-10-19 liuduanfei the first version
  9. */
  10. #ifndef _FT6236_H_
  11. #define _FT6236_H_
  12. #if defined(RT_VERSION_CHECK) && (RTTHREAD_VERSION >= RT_VERSION_CHECK(4, 1, 1))
  13. #include <rtdevice.h>
  14. #else
  15. #include <touch.h>
  16. #endif
  17. int rt_hw_ft6236_init(const char *name, struct rt_touch_config *cfg, rt_base_t pin);
  18. #endif /* _FT6236_H_ */