pub unsafe extern "C" fn mcpwm_timer_set_phase_on_sync(
    timer: mcpwm_timer_handle_t,
    config: *const mcpwm_timer_sync_phase_config_t
) -> esp_err_t
Expand description

@brief Set sync phase for MCPWM timer

@param[in] timer MCPWM timer handle, allocated by mcpwm_new_timer() @param[in] config MCPWM timer sync phase configuration @return - ESP_OK: Set sync phase for MCPWM timer successfully - ESP_ERR_INVALID_ARG: Set sync phase for MCPWM timer failed because of invalid argument - ESP_FAIL: Set sync phase for MCPWM timer failed because of other error