Lines Matching defs:mcpwm_num
55 #define MCPWM_TIMER_ID_CHECK(mcpwm_num, timer_num) … argument
61 #define MCPWM_TIMER_CHECK(mcpwm_num, timer_num) … argument
67 #define MCPWM_GEN_CHECK(mcpwm_num, timer_num, gen) \ argument
114 static inline void mcpwm_critical_enter(mcpwm_unit_t mcpwm_num) in mcpwm_critical_enter()
119 static inline void mcpwm_critical_exit(mcpwm_unit_t mcpwm_num) in mcpwm_critical_exit()
124 static inline void mcpwm_mutex_lock(mcpwm_unit_t mcpwm_num){ in mcpwm_mutex_lock()
128 static inline void mcpwm_mutex_unlock(mcpwm_unit_t mcpwm_num){ in mcpwm_mutex_unlock()
132 esp_err_t mcpwm_gpio_init(mcpwm_unit_t mcpwm_num, mcpwm_io_signals_t io_signal, int gpio_num) in mcpwm_gpio_init()
164 esp_err_t mcpwm_set_pin(mcpwm_unit_t mcpwm_num, const mcpwm_pin_config_t *mcpwm_pin) in mcpwm_set_pin()
185 esp_err_t mcpwm_start(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num) in mcpwm_start()
195 esp_err_t mcpwm_stop(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num) in mcpwm_stop()
205 esp_err_t mcpwm_group_set_resolution(mcpwm_unit_t mcpwm_num, unsigned long int resolution) { in mcpwm_group_set_resolution()
216 esp_err_t mcpwm_timer_set_resolution(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, unsigned long… in mcpwm_timer_set_resolution()
229 esp_err_t mcpwm_set_frequency(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, uint32_t frequency) in mcpwm_set_frequency()
260 esp_err_t mcpwm_set_duty(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t gen, fl… in mcpwm_set_duty()
277 esp_err_t mcpwm_set_duty_in_us(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t g… in mcpwm_set_duty_in_us()
296 esp_err_t mcpwm_set_duty_type(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t ge… in mcpwm_set_duty_type()
378 esp_err_t mcpwm_init(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, const mcpwm_config_t *mcpwm_c… in mcpwm_init()
412 uint32_t mcpwm_get_frequency(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num) in mcpwm_get_frequency()
426 float mcpwm_get_duty(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t gen) in mcpwm_get_duty()
438 uint32_t mcpwm_get_duty_in_us(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_operator_t gen… in mcpwm_get_duty_in_us()
452 esp_err_t mcpwm_set_signal_high(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t … in mcpwm_set_signal_high()
458 esp_err_t mcpwm_set_signal_low(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t g… in mcpwm_set_signal_low()
464 esp_err_t mcpwm_carrier_enable(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num) in mcpwm_carrier_enable()
476 esp_err_t mcpwm_carrier_disable(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num) in mcpwm_carrier_disable()
488 esp_err_t mcpwm_carrier_set_period(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, uint8_t carrier… in mcpwm_carrier_set_period()
500 esp_err_t mcpwm_carrier_set_duty_cycle(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, uint8_t car… in mcpwm_carrier_set_duty_cycle()
512 esp_err_t mcpwm_carrier_oneshot_mode_enable(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, uint8_… in mcpwm_carrier_oneshot_mode_enable()
524 esp_err_t mcpwm_carrier_oneshot_mode_disable(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num) in mcpwm_carrier_oneshot_mode_disable()
529 esp_err_t mcpwm_carrier_output_invert(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, in mcpwm_carrier_output_invert()
542 esp_err_t mcpwm_carrier_init(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, const mcpwm_carrier_c… in mcpwm_carrier_init()
566 esp_err_t mcpwm_deadtime_enable(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_deadtime_typ… in mcpwm_deadtime_enable()
653 esp_err_t mcpwm_deadtime_disable(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num) in mcpwm_deadtime_disable()
674 esp_err_t mcpwm_fault_init(mcpwm_unit_t mcpwm_num, mcpwm_fault_input_level_t intput_level, mcpwm_fa… in mcpwm_fault_init()
686 esp_err_t mcpwm_fault_deinit(mcpwm_unit_t mcpwm_num, mcpwm_fault_signal_t fault_sig) in mcpwm_fault_deinit()
700 esp_err_t mcpwm_fault_set_cyc_mode(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_fault_sig… in mcpwm_fault_set_cyc_mode()
720 esp_err_t mcpwm_fault_set_oneshot_mode(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_fault… in mcpwm_fault_set_oneshot_mode()
764 esp_err_t mcpwm_capture_enable(mcpwm_unit_t mcpwm_num, mcpwm_capture_signal_t cap_sig, mcpwm_captur… in mcpwm_capture_enable()
791 esp_err_t mcpwm_capture_disable(mcpwm_unit_t mcpwm_num, mcpwm_capture_signal_t cap_sig) in mcpwm_capture_disable()
805 esp_err_t mcpwm_capture_enable_channel(mcpwm_unit_t mcpwm_num, mcpwm_capture_channel_id_t cap_chann… in mcpwm_capture_enable_channel()
846 esp_err_t mcpwm_capture_disable_channel(mcpwm_unit_t mcpwm_num, mcpwm_capture_channel_id_t cap_chan… in mcpwm_capture_disable_channel()
884 uint32_t MCPWM_ISR_ATTR mcpwm_capture_signal_get_value(mcpwm_unit_t mcpwm_num, mcpwm_capture_signal… in mcpwm_capture_signal_get_value()
892 uint32_t MCPWM_ISR_ATTR mcpwm_capture_signal_get_edge(mcpwm_unit_t mcpwm_num, mcpwm_capture_signal_… in mcpwm_capture_signal_get_edge()
900 esp_err_t mcpwm_sync_enable(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_sync_signal_t sy… in mcpwm_sync_enable()
923 esp_err_t mcpwm_sync_configure(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, const mcpwm_sync_co… in mcpwm_sync_configure()
947 esp_err_t mcpwm_sync_disable(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num) in mcpwm_sync_disable()
958 esp_err_t mcpwm_timer_trigger_soft_sync(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num) in mcpwm_timer_trigger_soft_sync()
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()
982 esp_err_t mcpwm_set_timer_sync_output(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_timer_… in mcpwm_set_timer_sync_output()
1007 esp_err_t mcpwm_isr_register(mcpwm_unit_t mcpwm_num, void (*fn)(void *), void *arg, int intr_alloc_… in mcpwm_isr_register()