mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
feat(ulp_touch): support ulp touch driver on p4
This commit is contained in:
@@ -735,6 +735,14 @@ config SOC_TOUCH_SENSOR_NUM
|
||||
int
|
||||
default 10
|
||||
|
||||
config SOC_TOUCH_MIN_CHAN_ID
|
||||
bool
|
||||
default n
|
||||
|
||||
config SOC_TOUCH_MAX_CHAN_ID
|
||||
int
|
||||
default 9
|
||||
|
||||
config SOC_TOUCH_SUPPORT_SLEEP_WAKEUP
|
||||
bool
|
||||
default y
|
||||
|
@@ -336,6 +336,8 @@
|
||||
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
|
||||
#define SOC_TOUCH_SENSOR_VERSION (1U) /*!<Hardware version of touch sensor */
|
||||
#define SOC_TOUCH_SENSOR_NUM (10)
|
||||
#define SOC_TOUCH_MIN_CHAN_ID (0) /*!< Touch minimum channel number */
|
||||
#define SOC_TOUCH_MAX_CHAN_ID (9) /*!< Touch maximum channel number */
|
||||
#define SOC_TOUCH_SUPPORT_SLEEP_WAKEUP (1)
|
||||
#define SOC_TOUCH_SAMPLE_CFG_NUM (1U) /*!< The sample configuration number in total, each sampler can be used to sample on one frequency */
|
||||
|
||||
|
Reference in New Issue
Block a user