feat(ulp_touch): support ulp touch driver on p4

This commit is contained in:
laokaiyao
2025-02-27 15:50:58 +08:00
parent 71e4d9ec50
commit ffb8adcf49
19 changed files with 358 additions and 23 deletions

View File

@@ -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

View File

@@ -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 */