Function esp_idf_sys::mcpwm_del_capture_channel
source ยท pub unsafe extern "C" fn mcpwm_del_capture_channel(
cap_channel: mcpwm_cap_channel_handle_t,
) -> esp_err_t
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