Searched refs:cap_edge (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/mcpwm/mcpwm_capture_hc_sr04/main/ |
D | mcpwm_capture_hc_sr04.c | 65 if (edata->cap_edge == MCPWM_POS_EDGE) { in sr04_echo_isr_handler() 96 .cap_edge = MCPWM_BOTH_EDGE, in app_main()
|
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | mcpwm.h | 265 mcpwm_capture_on_edge_t cap_edge; /*!<Which signal edge is detected*/ member 311 mcpwm_capture_on_edge_t cap_edge; /*!<Set capture edge*/ member 761 …re_enable(mcpwm_unit_t mcpwm_num, mcpwm_capture_signal_t cap_sig, mcpwm_capture_on_edge_t cap_edge,
|
/hal_espressif-3.6.0/components/driver/ |
D | mcpwm.c | 749 … edata.cap_edge = mcpwm_ll_capture_is_negedge(curr_context->hal.dev, i) ? MCPWM_NEG_EDGE in mcpwm_default_isr_handler() 764 …re_enable(mcpwm_unit_t mcpwm_num, mcpwm_capture_signal_t cap_sig, mcpwm_capture_on_edge_t cap_edge, in mcpwm_capture_enable() argument 781 mcpwm_ll_capture_enable_negedge(hal->dev, cap_sig, cap_edge & MCPWM_NEG_EDGE); in mcpwm_capture_enable() 782 mcpwm_ll_capture_enable_posedge(hal->dev, cap_sig, cap_edge & MCPWM_POS_EDGE); in mcpwm_capture_enable() 824 mcpwm_ll_capture_enable_negedge(hal->dev, cap_channel, cap_conf->cap_edge & MCPWM_NEG_EDGE); in mcpwm_capture_enable_channel() 825 mcpwm_ll_capture_enable_posedge(hal->dev, cap_channel, cap_conf->cap_edge & MCPWM_POS_EDGE); in mcpwm_capture_enable_channel()
|
/hal_espressif-3.6.0/components/driver/test/ |
D | test_pwm.c | 421 .cap_edge = MCPWM_POS_EDGE, in mcpwm_swsync_test() 500 .cap_edge = MCPWM_POS_EDGE, in mcpwm_capture_test()
|
/hal_espressif-3.6.0/examples/peripherals/mcpwm/mcpwm_bldc_hall_control/main/ |
D | mcpwm_bldc_hall_control_example_main.c | 224 .cap_edge = MCPWM_BOTH_EDGE, in app_main()
|