Function esp_idf_svc::hal::sys::mcpwm_capture_timer_stop

source ยท
pub unsafe extern "C" fn mcpwm_capture_timer_stop(
    cap_timer: *mut mcpwm_cap_timer_t,
) -> i32
Expand description

@brief Stop MCPWM capture timer

@param[in] cap_timer MCPWM capture timer, allocated by mcpwm_new_capture_timer() @return - ESP_OK: Stop MCPWM capture timer successfully - ESP_ERR_INVALID_ARG: Stop MCPWM capture timer failed because of invalid argument - ESP_FAIL: Stop MCPWM capture timer failed because of other error