mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
feat(ana_cmpr): supported analog comparator etm function on p4
This commit is contained in:
@@ -395,6 +395,14 @@ config SOC_ANA_CMPR_SUPPORT_MULTI_INTR
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_ANA_CMPR_SUPPORT_ETM
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_ANA_CMPR_ETM_EVENTS_PER_UNIT
|
||||
int
|
||||
default 2
|
||||
|
||||
config SOC_I2C_NUM
|
||||
int
|
||||
default 2
|
||||
|
@@ -553,7 +553,7 @@ typedef union {
|
||||
uint32_t val;
|
||||
} gpio_clock_gate_reg_t;
|
||||
|
||||
/** Type of zero_det0_filter_cnt register
|
||||
/** Type of zero_det_filter_cnt register
|
||||
* GPIO analog comparator zero detect filter count
|
||||
*/
|
||||
typedef union {
|
||||
|
@@ -221,8 +221,10 @@
|
||||
#define SOC_DEDIC_PERIPH_ALWAYS_ENABLE (1) /*!< The dedicated GPIO (a.k.a. fast GPIO) is featured by some customized CPU instructions, which is always enabled */
|
||||
|
||||
/*------------------------- Analog Comparator CAPS ---------------------------*/
|
||||
#define SOC_ANA_CMPR_NUM (2U)
|
||||
#define SOC_ANA_CMPR_SUPPORT_MULTI_INTR (1)
|
||||
#define SOC_ANA_CMPR_NUM (2U)
|
||||
#define SOC_ANA_CMPR_SUPPORT_MULTI_INTR (1)
|
||||
#define SOC_ANA_CMPR_SUPPORT_ETM (1)
|
||||
#define SOC_ANA_CMPR_ETM_EVENTS_PER_UNIT (2)
|
||||
|
||||
/*-------------------------- I2C CAPS ----------------------------------------*/
|
||||
// ESP32-P4 has 2 I2Cs
|
||||
|
Reference in New Issue
Block a user