Function esp_idf_sys::mcpwm_soft_sync_activate
source ยท pub unsafe extern "C" fn mcpwm_soft_sync_activate(
sync: mcpwm_sync_handle_t,
) -> esp_err_t
Expand description
@brief Activate the software sync, trigger the sync event for once
@param[in] sync MCPWM soft sync handle, allocated by mcpwm_new_soft_sync_src()
@return
- ESP_OK: Trigger MCPWM software sync event successfully
- ESP_ERR_INVALID_ARG: Trigger MCPWM software sync event failed because of invalid argument
- ESP_FAIL: Trigger MCPWM software sync event failed because of other error