Function esp_idf_svc::hal::sys::mcpwm_del_sync_src
source ยท pub unsafe extern "C" fn mcpwm_del_sync_src(
sync: *mut mcpwm_sync_t,
) -> i32
Expand description
@brief Delete MCPWM sync source
@param[in] sync MCPWM sync handle, allocated by mcpwm_new_timer_sync_src()
or mcpwm_new_gpio_sync_src()
or mcpwm_new_soft_sync_src()
@return
- ESP_OK: Delete MCPWM sync source successfully
- ESP_ERR_INVALID_ARG: Delete MCPWM sync source failed because of invalid argument
- ESP_FAIL: Delete MCPWM sync source failed because of other error