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