Home
last modified time | relevance | path

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

/hal_intel-latest/zephyr/iut_test/test_zephyr/gpio/
Dtest_gpio.c39 const struct device *gpio_dev = DEVICE_DT_GET(DT_DRV_INST(0)); in test_gpio_output() local
46 gpio_pin_configure(gpio_dev, i, GPIO_OUTPUT); in test_gpio_output()
48 gpio_pin_set_raw(gpio_dev, i, 1); in test_gpio_output()
52 gpio_pin_configure(gpio_dev, i, GPIO_INPUT); in test_gpio_output()
54 ret = gpio_pin_get_raw(gpio_dev, i); in test_gpio_output()
58 gpio_pin_configure(gpio_dev, i, GPIO_OUTPUT); in test_gpio_output()
60 gpio_pin_set_raw(gpio_dev, i, 0); in test_gpio_output()
64 gpio_pin_configure(gpio_dev, i, GPIO_INPUT); in test_gpio_output()
65 ret = gpio_pin_get_raw(gpio_dev, i); in test_gpio_output()
91 const struct device *gpio_dev = DEVICE_DT_GET(DT_DRV_INST(0)); in test_gpio_loopback() local
[all …]