Function esp_idf_svc::sys::mcpwm_del_fault

source ยท
pub unsafe extern "C" fn mcpwm_del_fault(
    fault: *mut mcpwm_fault_t,
) -> i32
Expand description

@brief Delete MCPWM fault

@param[in] fault MCPWM fault handle allocated by mcpwm_new_gpio_fault() or mcpwm_new_soft_fault() @return - ESP_OK: Delete MCPWM fault successfully - ESP_ERR_INVALID_ARG: Delete MCPWM fault failed because of invalid argument - ESP_FAIL: Delete MCPWM fault failed because of other error