mcpwm_capture_timer_disable() function
Disable MCPWM capture timer
Arguments
cap_timer
MCPWM capture timer handle, allocated by `mcpwm_new_capture_timer()`
Return value
- ESP_OK: Disable MCPWM capture timer successfully - ESP_ERR_INVALID_ARG: Disable MCPWM capture timer failed because of invalid argument - ESP_ERR_INVALID_STATE: Disable MCPWM capture timer failed because timer is disabled already - ESP_FAIL: Disable MCPWM capture timer failed because of other error