Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/src/
Dtest_pin_interrupt.c129 int pin_out_val; in test_gpio_pin_interrupt_level() local
145 pin_out_val = ((int_flags & GPIO_INT_HIGH_1) != 0) ? 0 : 1; in test_gpio_pin_interrupt_level()
148 cfg_out_flag = (pin_out_val != 0) ? GPIO_OUTPUT_LOW : in test_gpio_pin_interrupt_level()
151 cfg_out_flag = (pin_out_val != 0) ? GPIO_OUTPUT_HIGH : in test_gpio_pin_interrupt_level()
175 "Pin interrupt triggered on level %d", pin_out_val); in test_gpio_pin_interrupt_level()
178 pin_out_val = (pin_out_val != 0) ? 0 : 1; in test_gpio_pin_interrupt_level()
179 pin_set_and_verify(port, TEST_PIN, pin_out_val, i); in test_gpio_pin_interrupt_level()
183 "number of times on level %d", i, pin_out_val); in test_gpio_pin_interrupt_level()
185 pin_out_val = (pin_out_val != 0) ? 0 : 1; in test_gpio_pin_interrupt_level()
186 pin_set_and_verify(port, TEST_PIN, pin_out_val, i); in test_gpio_pin_interrupt_level()
[all …]