raydium_selftest.h 1021 B

12345678910111213141516171819202122232425262728293031323334
  1. /* raydium_selftest.h
  2. *
  3. * Raydium TouchScreen driver.
  4. *
  5. * Copyright (c) 2021 Raydium tech Ltd.
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. */
  18. #define DISABLE_PDA2_MODE_AND_INT 0
  19. #define ENABLE_PDA2_MODE_AND_INT 1
  20. #define DISABLE_TOUCH_INT 2
  21. #define ENABLE_TOUCH_INT 3
  22. #define ENABLE_TIME_MEASURMENT 1
  23. /*Raydium system flag*/
  24. #define RAYDIUM_INTERRUPT_FLAG 0x01
  25. #define RM_SELF_TEST_THRESHOLD_FILE "/data/selftest/tpselftest.ini"
  26. #define RM_SELF_TEST_LOGFILE "/sdcard/selftest.csv"
  27. extern const unsigned char u8_rad_testpara_20[];