mcpwm_capture_channel_disable() function
Disable MCPWM capture channel
Arguments
cap_channel
MCPWM capture channel handle, allocated by `mcpwm_new_capture_channel()`
Return value
- ESP_OK: Disable MCPWM capture channel successfully - ESP_ERR_INVALID_ARG: Disable MCPWM capture channel failed because of invalid argument - ESP_ERR_INVALID_STATE: Disable MCPWM capture channel failed because the channel is not enabled yet - ESP_FAIL: Disable MCPWM capture channel failed because of other error