Home
last modified time | relevance | path

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

/Zephyr-latest/samples/subsys/tracing/src/
Dgpio_main.c43 gpio_pin_get(dev, 1); in gpio_sample()
45 gpio_pin_get(dev, 1); in gpio_sample()
/Zephyr-latest/tests/drivers/gpio/gpio_nrf/src/
Dmain.c88 response = gpio_pin_get(port, TEST_PIN); in ZTEST()
/Zephyr-latest/tests/drivers/gpio/gpio_ite_it8xxx2_v2/src/
Dmain.c106 zassert_false(gpio_pin_get(gpio_dev, TEST_PIN)); in ZTEST()
108 zassert_true(gpio_pin_get(gpio_dev, TEST_PIN)); in ZTEST()
120 zassert_true(gpio_pin_get(gpio_dev, TEST_PIN)); in ZTEST()
122 zassert_false(gpio_pin_get(gpio_dev, TEST_PIN)); in ZTEST()
/Zephyr-latest/drivers/sensor/hc_sr04/
Dhc_sr04.c110 if (gpio_pin_get(dev, cfg->echo_gpios.pin) == 1) { in hcsr04_gpio_callback()
/Zephyr-latest/boards/nordic/nrf9160dk/
Dboard.c114 val = gpio_pin_get(gpio, pin); in reset_pin_wait_inactive()
/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/src/
Dtest_pin.c30 val_actual = gpio_pin_get(port, pin); in pin_get_and_verify()
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_spi_stm32.c637 ret = gpio_pin_get(hc_spi->cs.port, hc_spi->cs.pin); in wait_for_rx_bytes()
659 if (gpio_pin_get(hc_spi->cs.port, hc_spi->cs.pin)) { in gpio_cb_nss()
/Zephyr-latest/drivers/serial/
Duart_smartbond.c356 if (gpio_pin_get(gpio, pin) == 1) { in uart_smartbond_dtr_handler()
407 if (gpio_pin_get(config->dtr_gpio.port, config->dtr_gpio.pin) == 0) { in uart_smartbond_init()
/Zephyr-latest/drivers/usb_c/ppc/
Dnxp_nx20p3483.c217 LOG_INF("NX20P alert: %d", gpio_pin_get(cfg->irq_gpio.port, cfg->irq_gpio.pin)); in nx20p3483_dump_regs()
/Zephyr-latest/samples/shields/npm6001_ek/src/
Dmain.c373 val = gpio_pin_get(gpio, pin); in cmd_gpio_get()
/Zephyr-latest/include/zephyr/drivers/
Dgpio.h1580 static inline int gpio_pin_get(const struct device *port, gpio_pin_t pin) in gpio_pin_get() function
1610 return gpio_pin_get(spec->port, spec->pin); in gpio_pin_get_dt()
/Zephyr-latest/drivers/gpio/
Dgpio_shell.c351 value = gpio_pin_get(gpio.dev, gpio.pin); in cmd_gpio_get()
/Zephyr-latest/drivers/espi/
Despi_it8xxx2.c1844 bool espi_reset = gpio_pin_get(port, (find_msb_set(pins) - 1)); in espi_it8xxx2_espi_reset_isr()
/Zephyr-latest/doc/releases/
Drelease-notes-2.2.rst104 * Reading / writing of pin logical level is supported by gpio_pin_get,