mcpwm_del_timer() function
Delete MCPWM timer
Arguments
timer
MCPWM timer handle, allocated by `mcpwm_new_timer()`
Return value
- ESP_OK: Delete MCPWM timer successfully - ESP_ERR_INVALID_ARG: Delete MCPWM timer failed because of invalid argument - ESP_ERR_INVALID_STATE: Delete MCPWM timer failed because timer is not in init state - ESP_FAIL: Delete MCPWM timer failed because of other error
mcpwm_del_timer() calls 7 functions:
![]()
mcpwm_del_timer()
mcpwm_del_timer() reads 13 variables:
![]()
mcpwm_del_timer()