Function esp_idf_sys::mcpwm_del_capture_timer
source ยท pub unsafe extern "C" fn mcpwm_del_capture_timer(
cap_timer: mcpwm_cap_timer_handle_t,
) -> esp_err_t
Expand description
@brief Delete MCPWM capture timer
@param[in] cap_timer MCPWM capture timer, allocated by mcpwm_new_capture_timer()
@return
- ESP_OK: Delete MCPWM capture timer successfully
- ESP_ERR_INVALID_ARG: Delete MCPWM capture timer failed because of invalid argument
- ESP_FAIL: Delete MCPWM capture timer failed because of other error