Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. menu "ESP-Driver:MCPWM Configurations"
  2. depends on SOC_MCPWM_SUPPORTED
  3. config MCPWM_ISR_IRAM_SAFE
  4. bool "Place MCPWM ISR function into IRAM"
  5. default n
  6. help
  7. This will ensure the MCPWM interrupt handle is IRAM-Safe, allow to avoid flash
  8. cache misses, and also be able to run whilst the cache is disabled.
  9. (e.g. SPI Flash write)
  10. config MCPWM_CTRL_FUNC_IN_IRAM
  11. bool "Place MCPWM control functions into IRAM"
  12. default n
  13. help
  14. Place MCPWM control functions (like set_compare_value) into IRAM,
  15. so that these functions can be IRAM-safe and able to be called in the other IRAM interrupt context.
  16. Enabling this option can improve driver performance as well.
  17. config MCPWM_SUPPRESS_DEPRECATE_WARN
  18. bool "Suppress leagcy driver deprecated warning"
  19. default n
  20. help
  21. Wether to suppress the deprecation warnings when using legacy MCPWM driver (driver/mcpwm.h).
  22. If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
  23. you can enable this option.
  24. config MCPWM_ENABLE_DEBUG_LOG
  25. bool "Enable debug log"
  26. default n
  27. help
  28. Wether to enable the debug log message for MCPWM driver.
  29. Note that, this option only controls the MCPWM driver log, won't affect other drivers.
  30. endmenu