ledc: Add ledc_fade_stop API to support stopping the fade operation.

Note that ESP32 cannot support this new feature.
This commit is contained in:
songruojing
2022-01-10 21:07:58 +08:00
parent be2ab09832
commit 68e12f7092
14 changed files with 249 additions and 63 deletions

View File

@@ -251,6 +251,10 @@ config SOC_LEDC_TIMER_BIT_WIDE_NUM
int
default 14
config SOC_LEDC_SUPPORT_FADE_STOP
bool
default y
config SOC_MPU_CONFIGURABLE_REGIONS_SUPPORTED
bool
default n

View File

@@ -141,6 +141,7 @@
#define SOC_LEDC_SUPPORT_XTAL_CLOCK (1)
#define SOC_LEDC_CHANNEL_NUM (6)
#define SOC_LEDC_TIMER_BIT_WIDE_NUM (14)
#define SOC_LEDC_SUPPORT_FADE_STOP (1)
/*-------------------------- MPU CAPS ----------------------------------------*/
#define SOC_MPU_CONFIGURABLE_REGIONS_SUPPORTED 0