pub unsafe extern "C" fn mcpwm_del_capture_channel(
    cap_channel: *mut mcpwm_cap_channel_t
) -> i32
Expand description

@brief Delete MCPWM capture channel

@param[in] cap_channel MCPWM capture channel handle, allocated by mcpwm_new_capture_channel() @return - ESP_OK: Delete MCPWM capture channel successfully - ESP_ERR_INVALID_ARG: Delete MCPWM capture channel failed because of invalid argument - ESP_FAIL: Delete MCPWM capture channel failed because of other error