touch_key.h 312 B

12345678910111213141516
  1. #ifndef DEVICE_TOUCH_KEY_H
  2. #define DEVICE_TOUCH_KEY_H
  3. #include "typedef.h"
  4. #include "asm/plcnt.h"
  5. /* =========== touch key API ============= */
  6. //触摸按键初始化
  7. int touch_key_init(const struct touch_key_platform_data *touch_key_data);
  8. //获取触摸按键键值
  9. u8 touch_key_get_value(void);
  10. #endif