Searched refs:TEST_FAULT_GPIO (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.4.0/components/driver/test/ |
D | test_pwm.c | 26 #define TEST_FAULT_GPIO (21) macro 289 TEST_ESP_OK(test_mcpwm_gpio_init(unit, fault_io_sig, TEST_FAULT_GPIO)); in mcpwm_fault_cbc_test() 290 gpio_set_level(TEST_FAULT_GPIO, 0); in mcpwm_fault_cbc_test() 295 gpio_set_level(TEST_FAULT_GPIO, 1); // trigger the fault event in mcpwm_fault_cbc_test() 298 gpio_set_level(TEST_FAULT_GPIO, 0); // remove the fault signal in mcpwm_fault_cbc_test() 325 TEST_ESP_OK(test_mcpwm_gpio_init(unit, fault_io_sig, TEST_FAULT_GPIO)); in mcpwm_fault_ost_test() 326 gpio_set_level(TEST_FAULT_GPIO, 0); in mcpwm_fault_ost_test() 331 gpio_set_level(TEST_FAULT_GPIO, 1); // trigger the fault event in mcpwm_fault_ost_test() 334 gpio_set_level(TEST_FAULT_GPIO, 0); // remove the fault signal in mcpwm_fault_ost_test()
|