mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-12 13:27:36 +00:00
feat(MCPWM): Add mcpwm carrier clk source
The MCPWM carrier is part of the operator and can work independently without the MCPWM timer being enabled. This commit add the MCPWM carrier clk source.
This commit is contained in:
@@ -43,6 +43,8 @@ extern "C" {
|
||||
#define MCPWM_LL_EVENT_CAPTURE(cap) (1 << ((cap) + 27))
|
||||
|
||||
// Maximum values due to limited register bit width
|
||||
#define MCPWM_LL_MAX_TIMER_PRESCALE 256
|
||||
#define MCPWM_LL_MAX_CARRIER_PRESCALE 16
|
||||
#define MCPWM_LL_MAX_CARRIER_ONESHOT 16
|
||||
#define MCPWM_LL_MAX_CAPTURE_PRESCALE 256
|
||||
#define MCPWM_LL_MAX_DEAD_DELAY 65536
|
||||
|
Reference in New Issue
Block a user