Merge branch 'feat/support_step_notify_on_h2eco5' into 'master'

feat(pcnt): support step_notify on esp32h2 eco5

Closes IDF-11394

See merge request espressif/esp-idf!35516
This commit is contained in:
Chen Ji Chang
2024-12-12 16:23:44 +08:00
7 changed files with 260 additions and 136 deletions
@@ -775,6 +775,10 @@ config SOC_PCNT_SUPPORT_RUNTIME_THRES_UPDATE
bool
default y
config SOC_PCNT_SUPPORT_STEP_NOTIFY
bool
default y
config SOC_PCNT_SUPPORT_SLEEP_RETENTION
bool
default y
@@ -305,6 +305,7 @@
#define SOC_PCNT_CHANNELS_PER_UNIT 2
#define SOC_PCNT_THRES_POINT_PER_UNIT 2
#define SOC_PCNT_SUPPORT_RUNTIME_THRES_UPDATE 1
#define SOC_PCNT_SUPPORT_STEP_NOTIFY 1 /*!< Only avliable in chip version above 1.2*/
#define SOC_PCNT_SUPPORT_SLEEP_RETENTION 1 /*!< The sleep retention feature can help back up PCNT registers before sleep */
/*--------------------------- RMT CAPS ---------------------------------------*/