Searched refs:gpio_emul_output_get (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/tests/drivers/stepper/drv8424/emul/src/ |
D | main.c | 52 value = gpio_emul_output_get(en_pin.port, en_pin.pin); in ZTEST_F() 56 value = !gpio_emul_output_get(slp_pin.port, slp_pin.pin); in ZTEST_F() 71 value = gpio_emul_output_get(en_pin.port, en_pin.pin); in ZTEST_F() 75 value = !gpio_emul_output_get(slp_pin.port, slp_pin.pin); in ZTEST_F()
|
/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/src/ |
D | main.c | 123 zassert_equal(gpio_emul_output_get(dev_gpio, POLL_C0_PIN), 0); in input_kbd_matrix_drive_column_hook() 124 zassert_equal(gpio_emul_output_get(dev_gpio, POLL_C1_PIN), 1); in input_kbd_matrix_drive_column_hook() 127 zassert_equal(gpio_emul_output_get(dev_gpio, POLL_C0_PIN), 1); in input_kbd_matrix_drive_column_hook() 128 zassert_equal(gpio_emul_output_get(dev_gpio, POLL_C1_PIN), 0); in input_kbd_matrix_drive_column_hook() 131 zassert_equal(gpio_emul_output_get(dev_gpio, POLL_C0_PIN), 1); in input_kbd_matrix_drive_column_hook() 132 zassert_equal(gpio_emul_output_get(dev_gpio, POLL_C1_PIN), 1); in input_kbd_matrix_drive_column_hook() 135 zassert_equal(gpio_emul_output_get(dev_gpio, POLL_C0_PIN), 0); in input_kbd_matrix_drive_column_hook() 136 zassert_equal(gpio_emul_output_get(dev_gpio, POLL_C1_PIN), 0); in input_kbd_matrix_drive_column_hook() 153 zassert_equal(gpio_emul_output_get(dev_gpio, SCAN_C0_PIN), 0); in input_kbd_matrix_drive_column_hook() 154 zassert_equal(gpio_emul_output_get(dev_gpio, SCAN_C1_PIN), 1); in input_kbd_matrix_drive_column_hook() [all …]
|
/Zephyr-latest/include/zephyr/drivers/gpio/ |
D | gpio_emul.h | 97 static inline int gpio_emul_output_get(const struct device *port, gpio_pin_t pin) in gpio_emul_output_get() function
|
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/ |
D | gpio_emul_callback.c | 47 r = gpio_emul_output_get(port, PIN_OUT); in gpio_emul_callback_handler()
|
/Zephyr-latest/tests/drivers/sensor/hc-sr04/src/ |
D | main.c | 87 if (gpio_emul_output_get(port, HC_SR04_PIN_OUT) == 1) { in gpio_emul_callback_handler()
|