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
mcpwm_timer_disable() calls 4 functions:
![]()
mcpwm_timer_disable()
mcpwm_timer_disable() reads 12 variables and writes 1 variable:
![]()
mcpwm_timer_disable()