Home
last modified time | relevance | path

Searched refs:generator_id (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-latest/components/hal/esp32/include/hal/
Dmcpwm_ll.h728 …inline void mcpwm_ll_generator_reset_actions(mcpwm_dev_t *mcpwm, int operator_id, int generator_id) in mcpwm_ll_generator_reset_actions() argument
730 mcpwm->operators[operator_id].generator[generator_id].val = 0; in mcpwm_ll_generator_reset_actions()
743 …mcpwm_ll_generator_set_action_on_timer_event(mcpwm_dev_t *mcpwm, int operator_id, int generator_id, in mcpwm_ll_generator_set_action_on_timer_event() argument
748 …mcpwm->operators[operator_id].generator[generator_id].val &= ~(0x03 << (MCPWM_LL_TIMER_EVENT_TO_RE… in mcpwm_ll_generator_set_action_on_timer_event()
749 …mcpwm->operators[operator_id].generator[generator_id].val |= MCPWM_LL_GEN_ACTION_TO_REG_CAL(action… in mcpwm_ll_generator_set_action_on_timer_event()
751 …mcpwm->operators[operator_id].generator[generator_id].val &= ~(0x03 << (MCPWM_LL_TIMER_EVENT_TO_RE… in mcpwm_ll_generator_set_action_on_timer_event()
752 …mcpwm->operators[operator_id].generator[generator_id].val |= MCPWM_LL_GEN_ACTION_TO_REG_CAL(action… in mcpwm_ll_generator_set_action_on_timer_event()
766 …pwm_ll_generator_set_action_on_compare_event(mcpwm_dev_t *mcpwm, int operator_id, int generator_id, in mcpwm_ll_generator_set_action_on_compare_event() argument
770 mcpwm->operators[operator_id].generator[generator_id].val &= ~(0x03 << (cmp_id * 2 + 4)); in mcpwm_ll_generator_set_action_on_compare_event()
771 …mcpwm->operators[operator_id].generator[generator_id].val |= MCPWM_LL_GEN_ACTION_TO_REG_CAL(action… in mcpwm_ll_generator_set_action_on_compare_event()
[all …]
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dmcpwm_ll.h740 …inline void mcpwm_ll_generator_reset_actions(mcpwm_dev_t *mcpwm, int operator_id, int generator_id) in mcpwm_ll_generator_reset_actions() argument
742 mcpwm->operators[operator_id].generator[generator_id].val = 0; in mcpwm_ll_generator_reset_actions()
755 …mcpwm_ll_generator_set_action_on_timer_event(mcpwm_dev_t *mcpwm, int operator_id, int generator_id, in mcpwm_ll_generator_set_action_on_timer_event() argument
760 …mcpwm->operators[operator_id].generator[generator_id].val &= ~(0x03 << (MCPWM_LL_TIMER_EVENT_TO_RE… in mcpwm_ll_generator_set_action_on_timer_event()
761 …mcpwm->operators[operator_id].generator[generator_id].val |= MCPWM_LL_GEN_ACTION_TO_REG_CAL(action… in mcpwm_ll_generator_set_action_on_timer_event()
763 …mcpwm->operators[operator_id].generator[generator_id].val &= ~(0x03 << (MCPWM_LL_TIMER_EVENT_TO_RE… in mcpwm_ll_generator_set_action_on_timer_event()
764 …mcpwm->operators[operator_id].generator[generator_id].val |= MCPWM_LL_GEN_ACTION_TO_REG_CAL(action… in mcpwm_ll_generator_set_action_on_timer_event()
778 …pwm_ll_generator_set_action_on_compare_event(mcpwm_dev_t *mcpwm, int operator_id, int generator_id, in mcpwm_ll_generator_set_action_on_compare_event() argument
782 mcpwm->operators[operator_id].generator[generator_id].val &= ~(0x03 << (cmp_id * 2 + 4)); in mcpwm_ll_generator_set_action_on_compare_event()
783 …mcpwm->operators[operator_id].generator[generator_id].val |= MCPWM_LL_GEN_ACTION_TO_REG_CAL(action… in mcpwm_ll_generator_set_action_on_compare_event()
[all …]
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dmcpwm_ll.h751 …inline void mcpwm_ll_generator_reset_actions(mcpwm_dev_t *mcpwm, int operator_id, int generator_id) in mcpwm_ll_generator_reset_actions() argument
753 mcpwm->operators[operator_id].generator[generator_id].val = 0; in mcpwm_ll_generator_reset_actions()
766 …mcpwm_ll_generator_set_action_on_timer_event(mcpwm_dev_t *mcpwm, int operator_id, int generator_id, in mcpwm_ll_generator_set_action_on_timer_event() argument
771 …mcpwm->operators[operator_id].generator[generator_id].val &= ~(0x03 << (MCPWM_LL_TIMER_EVENT_TO_RE… in mcpwm_ll_generator_set_action_on_timer_event()
772 …mcpwm->operators[operator_id].generator[generator_id].val |= MCPWM_LL_GEN_ACTION_TO_REG_CAL(action… in mcpwm_ll_generator_set_action_on_timer_event()
774 …mcpwm->operators[operator_id].generator[generator_id].val &= ~(0x03 << (MCPWM_LL_TIMER_EVENT_TO_RE… in mcpwm_ll_generator_set_action_on_timer_event()
775 …mcpwm->operators[operator_id].generator[generator_id].val |= MCPWM_LL_GEN_ACTION_TO_REG_CAL(action… in mcpwm_ll_generator_set_action_on_timer_event()
789 …pwm_ll_generator_set_action_on_compare_event(mcpwm_dev_t *mcpwm, int operator_id, int generator_id, in mcpwm_ll_generator_set_action_on_compare_event() argument
793 mcpwm->operators[operator_id].generator[generator_id].val &= ~(0x03 << (cmp_id * 2 + 4)); in mcpwm_ll_generator_set_action_on_compare_event()
794 …mcpwm->operators[operator_id].generator[generator_id].val |= MCPWM_LL_GEN_ACTION_TO_REG_CAL(action… in mcpwm_ll_generator_set_action_on_compare_event()
[all …]
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Dmcpwm_ll.h749 …inline void mcpwm_ll_generator_reset_actions(mcpwm_dev_t *mcpwm, int operator_id, int generator_id) in mcpwm_ll_generator_reset_actions() argument
751 mcpwm->operators[operator_id].generator[generator_id].val = 0; in mcpwm_ll_generator_reset_actions()
764 …mcpwm_ll_generator_set_action_on_timer_event(mcpwm_dev_t *mcpwm, int operator_id, int generator_id, in mcpwm_ll_generator_set_action_on_timer_event() argument
769 …mcpwm->operators[operator_id].generator[generator_id].val &= ~(0x03 << (MCPWM_LL_TIMER_EVENT_TO_RE… in mcpwm_ll_generator_set_action_on_timer_event()
770 …mcpwm->operators[operator_id].generator[generator_id].val |= MCPWM_LL_GEN_ACTION_TO_REG_CAL(action… in mcpwm_ll_generator_set_action_on_timer_event()
772 …mcpwm->operators[operator_id].generator[generator_id].val &= ~(0x03 << (MCPWM_LL_TIMER_EVENT_TO_RE… in mcpwm_ll_generator_set_action_on_timer_event()
773 …mcpwm->operators[operator_id].generator[generator_id].val |= MCPWM_LL_GEN_ACTION_TO_REG_CAL(action… in mcpwm_ll_generator_set_action_on_timer_event()
787 …pwm_ll_generator_set_action_on_compare_event(mcpwm_dev_t *mcpwm, int operator_id, int generator_id, in mcpwm_ll_generator_set_action_on_compare_event() argument
791 mcpwm->operators[operator_id].generator[generator_id].val &= ~(0x03 << (cmp_id * 2 + 4)); in mcpwm_ll_generator_set_action_on_compare_event()
792 …mcpwm->operators[operator_id].generator[generator_id].val |= MCPWM_LL_GEN_ACTION_TO_REG_CAL(action… in mcpwm_ll_generator_set_action_on_compare_event()
[all …]
/hal_espressif-latest/components/driver/deprecated/
Dmcpwm_legacy.c148 int generator_id = io_signal % 2; in mcpwm_gpio_init() local
149 …wm_periph_signals.groups[mcpwm_num].operators[operator_id].generators[generator_id].pwm_sig, 0, 0); in mcpwm_gpio_init()