Home
last modified time | relevance | path

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

/hal_espressif-latest/components/hal/esp32/include/hal/
Dmcpwm_ll.h504 static inline void mcpwm_ll_operator_flush_shadow(mcpwm_dev_t *mcpwm, int operator_id) in mcpwm_ll_operator_flush_shadow() argument
506 mcpwm->update_cfg.val ^= (1 << (2 * operator_id + 3)); in mcpwm_ll_operator_flush_shadow()
516 static inline void mcpwm_ll_operator_connect_timer(mcpwm_dev_t *mcpwm, int operator_id, int timer_i… in mcpwm_ll_operator_connect_timer() argument
518 mcpwm->operator_timersel.val &= ~(0x03 << (2 * operator_id)); in mcpwm_ll_operator_connect_timer()
519 mcpwm->operator_timersel.val |= (timer_id << (2 * operator_id)); in mcpwm_ll_operator_connect_timer()
529 static inline void mcpwm_ll_operator_update_compare_at_once(mcpwm_dev_t *mcpwm, int operator_id, in… in mcpwm_ll_operator_update_compare_at_once() argument
531 mcpwm->operators[operator_id].gen_stmp_cfg.val &= ~(0x0F << (4 * compare_id)); in mcpwm_ll_operator_update_compare_at_once()
542 …mcpwm_ll_operator_enable_update_compare_on_tez(mcpwm_dev_t *mcpwm, int operator_id, int compare_id… in mcpwm_ll_operator_enable_update_compare_on_tez() argument
545 mcpwm->operators[operator_id].gen_stmp_cfg.val |= (1 << 0) << (4 * compare_id); in mcpwm_ll_operator_enable_update_compare_on_tez()
547 mcpwm->operators[operator_id].gen_stmp_cfg.val &= ~((1 << 0) << (4 * compare_id)); in mcpwm_ll_operator_enable_update_compare_on_tez()
[all …]
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dmcpwm_ll.h516 static inline void mcpwm_ll_operator_flush_shadow(mcpwm_dev_t *mcpwm, int operator_id) in mcpwm_ll_operator_flush_shadow() argument
518 mcpwm->update_cfg.val ^= (1 << (2 * operator_id + 3)); in mcpwm_ll_operator_flush_shadow()
528 static inline void mcpwm_ll_operator_connect_timer(mcpwm_dev_t *mcpwm, int operator_id, int timer_i… in mcpwm_ll_operator_connect_timer() argument
530 mcpwm->operator_timersel.val &= ~(0x03 << (2 * operator_id)); in mcpwm_ll_operator_connect_timer()
531 mcpwm->operator_timersel.val |= (timer_id << (2 * operator_id)); in mcpwm_ll_operator_connect_timer()
541 static inline void mcpwm_ll_operator_update_compare_at_once(mcpwm_dev_t *mcpwm, int operator_id, in… in mcpwm_ll_operator_update_compare_at_once() argument
543 mcpwm->operators[operator_id].gen_stmp_cfg.val &= ~(0x0F << (4 * compare_id)); in mcpwm_ll_operator_update_compare_at_once()
554 …mcpwm_ll_operator_enable_update_compare_on_tez(mcpwm_dev_t *mcpwm, int operator_id, int compare_id… in mcpwm_ll_operator_enable_update_compare_on_tez() argument
557 mcpwm->operators[operator_id].gen_stmp_cfg.val |= (1 << 0) << (4 * compare_id); in mcpwm_ll_operator_enable_update_compare_on_tez()
559 mcpwm->operators[operator_id].gen_stmp_cfg.val &= ~((1 << 0) << (4 * compare_id)); in mcpwm_ll_operator_enable_update_compare_on_tez()
[all …]
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dmcpwm_ll.h527 static inline void mcpwm_ll_operator_flush_shadow(mcpwm_dev_t *mcpwm, int operator_id) in mcpwm_ll_operator_flush_shadow() argument
529 mcpwm->update_cfg.val ^= (1 << (2 * operator_id + 3)); in mcpwm_ll_operator_flush_shadow()
539 static inline void mcpwm_ll_operator_connect_timer(mcpwm_dev_t *mcpwm, int operator_id, int timer_i… in mcpwm_ll_operator_connect_timer() argument
541 mcpwm->operator_timersel.val &= ~(0x03 << (2 * operator_id)); in mcpwm_ll_operator_connect_timer()
542 mcpwm->operator_timersel.val |= (timer_id << (2 * operator_id)); in mcpwm_ll_operator_connect_timer()
552 static inline void mcpwm_ll_operator_update_compare_at_once(mcpwm_dev_t *mcpwm, int operator_id, in… in mcpwm_ll_operator_update_compare_at_once() argument
554 mcpwm->operators[operator_id].gen_stmp_cfg.val &= ~(0x0F << (4 * compare_id)); in mcpwm_ll_operator_update_compare_at_once()
565 …mcpwm_ll_operator_enable_update_compare_on_tez(mcpwm_dev_t *mcpwm, int operator_id, int compare_id… in mcpwm_ll_operator_enable_update_compare_on_tez() argument
568 mcpwm->operators[operator_id].gen_stmp_cfg.val |= (1 << 0) << (4 * compare_id); in mcpwm_ll_operator_enable_update_compare_on_tez()
570 mcpwm->operators[operator_id].gen_stmp_cfg.val &= ~((1 << 0) << (4 * compare_id)); in mcpwm_ll_operator_enable_update_compare_on_tez()
[all …]
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Dmcpwm_ll.h525 static inline void mcpwm_ll_operator_flush_shadow(mcpwm_dev_t *mcpwm, int operator_id) in mcpwm_ll_operator_flush_shadow() argument
527 mcpwm->update_cfg.val ^= (1 << (2 * operator_id + 3)); in mcpwm_ll_operator_flush_shadow()
537 static inline void mcpwm_ll_operator_connect_timer(mcpwm_dev_t *mcpwm, int operator_id, int timer_i… in mcpwm_ll_operator_connect_timer() argument
539 mcpwm->operator_timersel.val &= ~(0x03 << (2 * operator_id)); in mcpwm_ll_operator_connect_timer()
540 mcpwm->operator_timersel.val |= (timer_id << (2 * operator_id)); in mcpwm_ll_operator_connect_timer()
550 static inline void mcpwm_ll_operator_update_compare_at_once(mcpwm_dev_t *mcpwm, int operator_id, in… in mcpwm_ll_operator_update_compare_at_once() argument
552 mcpwm->operators[operator_id].gen_stmp_cfg.val &= ~(0x0F << (4 * compare_id)); in mcpwm_ll_operator_update_compare_at_once()
563 …mcpwm_ll_operator_enable_update_compare_on_tez(mcpwm_dev_t *mcpwm, int operator_id, int compare_id… in mcpwm_ll_operator_enable_update_compare_on_tez() argument
566 mcpwm->operators[operator_id].gen_stmp_cfg.val |= (1 << 0) << (4 * compare_id); in mcpwm_ll_operator_enable_update_compare_on_tez()
568 mcpwm->operators[operator_id].gen_stmp_cfg.val &= ~((1 << 0) << (4 * compare_id)); in mcpwm_ll_operator_enable_update_compare_on_tez()
[all …]
/hal_espressif-latest/components/driver/deprecated/
Dmcpwm_legacy.c147 int operator_id = io_signal / 2; in mcpwm_gpio_init() local
149 …_out_signal(gpio_num, mcpwm_periph_signals.groups[mcpwm_num].operators[operator_id].generators[gen… in mcpwm_gpio_init()