Searched refs:test_pin (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/drivers/comparator/gpio_loopback/src/ |
D | test.c | 13 static const struct gpio_dt_spec test_pin = GPIO_DT_SPEC_GET(DT_PATH(zephyr_user), test_gpios); variable 24 zassert_ok(gpio_pin_configure_dt(&test_pin, GPIO_OUTPUT_INACTIVE)); in test_setup() 33 zassert_ok(gpio_pin_set_dt(&test_pin, 0)); in test_before() 45 zassert_ok(gpio_pin_set_dt(&test_pin, 1)); in ZTEST() 49 zassert_ok(gpio_pin_set_dt(&test_pin, 0)); in ZTEST() 56 zassert_ok(gpio_pin_set_dt(&test_pin, 1)); in ZTEST() 59 zassert_ok(gpio_pin_set_dt(&test_pin, 0)); in ZTEST() 69 zassert_ok(gpio_pin_set_dt(&test_pin, 1)); in ZTEST() 73 zassert_ok(gpio_pin_set_dt(&test_pin, 0)); in ZTEST() 83 zassert_ok(gpio_pin_set_dt(&test_pin, 1)); in ZTEST() [all …]
|