Lines Matching refs:sync_sig
150 …n_signal(gpio_num, mcpwm_periph_signals.groups[mcpwm_num].gpio_synchros[gpio_sync_id].sync_sig, 0); in mcpwm_gpio_init()
900 …_t mcpwm_sync_enable(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_sync_signal_t sync_sig, in mcpwm_sync_enable() argument
904 …ESP_RETURN_ON_FALSE(sync_sig <= MCPWM_SELECT_GPIO_SYNC2, ESP_ERR_INVALID_ARG, TAG, "invalid sync_s… in mcpwm_sync_enable()
911 if (sync_sig == MCPWM_SELECT_NO_INPUT) { in mcpwm_sync_enable()
913 } else if (sync_sig <= MCPWM_SELECT_TIMER2_SYNC) { in mcpwm_sync_enable()
914 mcpwm_ll_timer_set_timer_synchro(hal->dev, timer_num, sync_sig - MCPWM_SELECT_TIMER0_SYNC); in mcpwm_sync_enable()
916 mcpwm_ll_timer_set_gpio_synchro(hal->dev, timer_num, sync_sig - MCPWM_SELECT_GPIO_SYNC0); in mcpwm_sync_enable()
926 …ESP_RETURN_ON_FALSE(sync_conf->sync_sig <= MCPWM_SELECT_GPIO_SYNC2, ESP_ERR_INVALID_ARG, TAG, "inv… in mcpwm_sync_configure()
935 if (sync_conf->sync_sig == MCPWM_SELECT_NO_INPUT){ in mcpwm_sync_configure()
937 } else if (sync_conf->sync_sig <= MCPWM_SELECT_TIMER2_SYNC) { in mcpwm_sync_configure()
938 …mcpwm_ll_timer_set_timer_synchro(hal->dev, timer_num, sync_conf->sync_sig - MCPWM_SELECT_TIMER0_SY… in mcpwm_sync_configure()
940 …mcpwm_ll_timer_set_gpio_synchro(hal->dev, timer_num, sync_conf->sync_sig - MCPWM_SELECT_GPIO_SYNC0… in mcpwm_sync_configure()
970 esp_err_t mcpwm_sync_invert_gpio_synchro(mcpwm_unit_t mcpwm_num, mcpwm_sync_signal_t sync_sig, bool… in mcpwm_sync_invert_gpio_synchro() argument
971 ESP_RETURN_ON_FALSE(sync_sig >= MCPWM_SELECT_GPIO_SYNC0 && sync_sig <= MCPWM_SELECT_GPIO_SYNC2, in mcpwm_sync_invert_gpio_synchro()
976 mcpwm_ll_invert_gpio_synchro(hal->dev, sync_sig - MCPWM_SELECT_GPIO_SYNC0, invert); in mcpwm_sync_invert_gpio_synchro()