Home
last modified time | relevance | path

Searched refs:MCPWM_CAP_0 (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/components/driver/test/
Dtest_pwm.c42 const static mcpwm_io_signals_t cap_io_sig_array[] = {MCPWM_CAP_0, MCPWM_CAP_1, MCPWM_CAP_2};
66 } else if (io_signal >= MCPWM_CAP_0 && io_signal <= MCPWM_CAP_2) { // Capture input signal in test_mcpwm_gpio_init()
68 int capture_id = io_signal - MCPWM_CAP_0; in test_mcpwm_gpio_init()
426 TEST_ESP_OK(test_mcpwm_gpio_init(unit, MCPWM_CAP_0, TEST_SYNC_GPIO_0)); in mcpwm_swsync_test()
/hal_espressif-3.6.0/examples/peripherals/mcpwm/mcpwm_capture_hc_sr04/main/
Dmcpwm_capture_hc_sr04.c91 ESP_ERROR_CHECK(mcpwm_gpio_init(MCPWM_UNIT_0, MCPWM_CAP_0, HC_SR04_PIN_ECHO)); in app_main()
/hal_espressif-3.6.0/components/driver/include/driver/
Dmcpwm.h44 MCPWM_CAP_0 = 84, /*!<CAP0 input pin*/ enumerator
/hal_espressif-3.6.0/components/driver/
Dmcpwm.c155 } else if (io_signal >= MCPWM_CAP_0 && io_signal <= MCPWM_CAP_2) { // Capture input signal in mcpwm_gpio_init()
157 int capture_id = io_signal - MCPWM_CAP_0; in mcpwm_gpio_init()
179 mcpwm_gpio_init(mcpwm_num, MCPWM_CAP_0, mcpwm_pin->mcpwm_cap0_in_num); //CAP0 in mcpwm_set_pin()