touch_sensor: apply general check

This commit is contained in:
laokaiyao
2021-09-14 14:36:18 +08:00
parent fc73e2b7bd
commit a1cadba191
16 changed files with 209 additions and 176 deletions

View File

@@ -239,6 +239,7 @@
#define SOC_TIMER_GROUP_TOTAL_TIMERS (SOC_TIMER_GROUPS * SOC_TIMER_GROUP_TIMERS_PER_GROUP)
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
#define SOC_TOUCH_VERSION_1 (1) /*!<Hardware version of touch sensor */
#define SOC_TOUCH_SENSOR_NUM (10)
#define SOC_TOUCH_PAD_MEASURE_WAIT_MAX (0xFF) /*!<The timer frequency is 8Mhz, the max value is 0xff */