pub unsafe extern "C" fn mcpwm_capture_timer_set_phase_on_sync(
    cap_timer: mcpwm_cap_timer_handle_t,
    config: *const mcpwm_capture_timer_sync_phase_config_t
) -> esp_err_t
Expand description

@brief Set sync phase for MCPWM capture timer

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