Searched refs:mcpwm_unit_t (Results 1 – 6 of 6) sorted by relevance
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | mcpwm.h | 77 } mcpwm_unit_t; typedef 282 typedef bool (*cap_isr_cb_t)(mcpwm_unit_t mcpwm, mcpwm_capture_channel_id_t cap_channel, const cap_… 340 esp_err_t mcpwm_gpio_init(mcpwm_unit_t mcpwm_num, mcpwm_io_signals_t io_signal, int gpio_num); 354 esp_err_t mcpwm_set_pin(mcpwm_unit_t mcpwm_num, const mcpwm_pin_config_t *mcpwm_pin); 371 esp_err_t mcpwm_init( mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, const mcpwm_config_t *mcpwm… 387 esp_err_t mcpwm_group_set_resolution(mcpwm_unit_t mcpwm_num, unsigned long int resolution); 404 esp_err_t mcpwm_timer_set_resolution(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, unsigned long… 417 esp_err_t mcpwm_set_frequency(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, uint32_t frequency); 431 esp_err_t mcpwm_set_duty(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t gen, fl… 445 esp_err_t mcpwm_set_duty_in_us(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t g… [all …]
|
/hal_espressif-3.6.0/components/driver/ |
D | mcpwm.c | 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() [all …]
|
/hal_espressif-3.6.0/components/driver/test/ |
D | test_pwm.c | 47 static esp_err_t test_mcpwm_gpio_init(mcpwm_unit_t mcpwm_num, mcpwm_io_signals_t io_signal, int gpi… in test_mcpwm_gpio_init() 75 static void mcpwm_setup_testbench(mcpwm_unit_t group, mcpwm_timer_t timer, uint32_t pwm_freq, float… in mcpwm_setup_testbench() 126 static void mcpwm_timer_duty_test(mcpwm_unit_t unit, mcpwm_timer_t timer, unsigned long int group_r… in mcpwm_timer_duty_test() 162 static void mcpwm_start_stop_test(mcpwm_unit_t unit, mcpwm_timer_t timer) in mcpwm_start_stop_test() 197 static void mcpwm_deadtime_test(mcpwm_unit_t unit, mcpwm_timer_t timer) in mcpwm_deadtime_test() 227 static void mcpwm_carrier_test(mcpwm_unit_t unit, mcpwm_timer_t timer, mcpwm_carrier_out_ivt_t inve… in mcpwm_carrier_test() 280 static void mcpwm_fault_cbc_test(mcpwm_unit_t unit, mcpwm_timer_t timer) in mcpwm_fault_cbc_test() 316 static void mcpwm_fault_ost_test(mcpwm_unit_t unit, mcpwm_timer_t timer) in mcpwm_fault_ost_test() 352 static void mcpwm_sync_test(mcpwm_unit_t unit, mcpwm_timer_t timer) in mcpwm_sync_test() 385 static void mcpwm_swsync_test(mcpwm_unit_t unit) { in mcpwm_swsync_test() [all …]
|
/hal_espressif-3.6.0/examples/peripherals/mcpwm/mcpwm_capture_hc_sr04/main/ |
D | mcpwm_capture_hc_sr04.c | 60 static bool sr04_echo_isr_handler(mcpwm_unit_t mcpwm, mcpwm_capture_channel_id_t cap_sig, const cap… in sr04_echo_isr_handler()
|
/hal_espressif-3.6.0/examples/peripherals/mcpwm/mcpwm_bldc_hall_control/main/ |
D | mcpwm_bldc_hall_control_example_main.c | 53 static bool IRAM_ATTR bldc_hall_updated(mcpwm_unit_t mcpwm, mcpwm_capture_channel_id_t cap_channel,… in bldc_hall_updated()
|
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/ |
D | mcpwm.rst | 57 …e are two units available on-board of {IDF_TARGET_NAME} and enumerated in :cpp:type:`mcpwm_unit_t`.
|