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