mcpwm_timer_enable() function
Enable MCPWM timer
Arguments
timer
MCPWM timer handle, allocated by `mcpwm_new_timer()`
Return value
- ESP_OK: Enable MCPWM timer successfully - ESP_ERR_INVALID_ARG: Enable MCPWM timer failed because of invalid argument - ESP_ERR_INVALID_STATE: Enable MCPWM timer failed because timer is enabled already - ESP_FAIL: Enable MCPWM timer failed because of other error
Examples
mcpwm_timer_enable() is referenced by 5 libraries and example projects: