Home
last modified time | relevance | path

Searched refs:gpio_pin_get_dt (Results 1 – 25 of 78) sorted by relevance

1234

/Zephyr-latest/tests/drivers/regulator/fixed/src/
Dmain.c27 ret = gpio_pin_get_dt(&check_gpio); in ZTEST()
35 ret = gpio_pin_get_dt(&check_gpio); in ZTEST()
43 ret = gpio_pin_get_dt(&check_gpio); in ZTEST()
49 ret = gpio_pin_get_dt(&check_gpio); in ZTEST()
/Zephyr-latest/samples/boards/espressif/light_sleep/src/
Dmain.c49 if (gpio_pin_get_dt(&button) == wakeup_level) { in main()
53 } while (gpio_pin_get_dt(&button) == wakeup_level); in main()
/Zephyr-latest/drivers/lora/
Dsx126x_standalone.c33 return gpio_pin_get_dt(&sx126x_gpio_busy); in sx126x_is_busy()
38 return gpio_pin_get_dt(&sx126x_gpio_dio1) > 0 ? 1U : 0U; in sx126x_get_dio1_pin_state()
/Zephyr-latest/samples/boards/bbc/microbit/line_follower_robot/src/
Dmain.c35 left_line = gpio_pin_get_dt(&left_gpio); in left_irq()
41 right_line = gpio_pin_get_dt(&right_gpio); in right_irq()
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dpublisher.c25 if (gpio_pin_get_dt(&button_device[0]) == 1) { in publish()
47 } else if (gpio_pin_get_dt(&button_device[1]) == 1) { in publish()
69 } else if (gpio_pin_get_dt(&button_device[2]) == 1) { in publish()
139 } else if (gpio_pin_get_dt(&button_device[3]) == 1) { in publish()
207 if (gpio_pin_get_dt(&button_device[0]) == 1) { in publish()
/Zephyr-latest/drivers/gpio/
Dgpio_max14916.c86 if (!gpio_pin_get_dt(&config->fault_gpio)) { in max14916_reg_trans_spi_diag()
109 if (!gpio_pin_get_dt(&config->fault_gpio)) { in gpio_max14916_diag_chan_get()
346 LOG_ERR("[GPIO] FALUT - %d\n", gpio_pin_get_dt(&config->fault_gpio)); in gpio_max14916_init()
347 LOG_ERR("[GPIO] READY - %d\n", gpio_pin_get_dt(&config->ready_gpio)); in gpio_max14916_init()
348 LOG_ERR("[GPIO] SYNC - %d\n", gpio_pin_get_dt(&config->sync_gpio)); in gpio_max14916_init()
349 LOG_ERR("[GPIO] EN - %d\n", gpio_pin_get_dt(&config->en_gpio)); in gpio_max14916_init()
Dgpio_max14906.c81 if (!gpio_pin_get_dt(&config->fault_gpio)) { in max14906_reg_trans_spi_diag()
127 if (!gpio_pin_get_dt(&config->fault_gpio)) { in gpio_max14906_diag_chan_get()
418 LOG_DBG("[GPIO] FAULT - %d\n", gpio_pin_get_dt(&config->fault_gpio)); in gpio_max14906_init()
419 LOG_DBG("[GPIO] READY - %d\n", gpio_pin_get_dt(&config->ready_gpio)); in gpio_max14906_init()
420 LOG_DBG("[GPIO] SYNC - %d\n", gpio_pin_get_dt(&config->sync_gpio)); in gpio_max14906_init()
421 LOG_DBG("[GPIO] EN - %d\n", gpio_pin_get_dt(&config->en_gpio)); in gpio_max14906_init()
Dgpio_rt1718s.c80 } while (gpio_pin_get_dt(&config->irq_gpio)); in rt1718s_alert_worker()
/Zephyr-latest/samples/boards/nordic/dynamic_pinctrl/src/
Dremap.c48 if (gpio_pin_get_dt(&button)) { in remap_pins()
/Zephyr-latest/drivers/sensor/adi/adt7420/
Dadt7420_trigger.c62 int pv = gpio_pin_get_dt(&cfg->int_gpio); in process_int()
127 int pv = gpio_pin_get_dt(&cfg->int_gpio); in adt7420_trigger_set()
/Zephyr-latest/drivers/wifi/infineon/
Dairoc_whd_hal_spi.c181 if (!(pins & BIT(host_oob_pin->pin)) || (gpio_pin_get_dt(host_oob_pin) != expected_event)) { in whd_bus_spi_oob_irq_handler()
254 int state = gpio_pin_get_dt(gpio); in whd_bus_spi_irq_enable()
264 data->prev_irq_state = gpio_pin_get_dt(gpio); in whd_bus_spi_irq_enable()
/Zephyr-latest/drivers/sensor/ams/tsl2540/
Dtsl2540_trigger.c76 int pv = gpio_pin_get_dt(&config->int_gpio); in tsl2540_process_int()
150 int pv = gpio_pin_get_dt(&config->int_gpio); in tsl2540_trigger_set()
/Zephyr-latest/drivers/sensor/apds9960/
Dapds9960_trigger.c95 if (gpio_pin_get_dt(&config->int_gpio) > 0) { in apds9960_trigger_set()
/Zephyr-latest/drivers/fpga/
Dfpga_ice40_spi.c80 if (gpio_pin_get_dt(&config->cdone) != 0) { in fpga_ice40_load()
145 ret = gpio_pin_get_dt(&config->cdone); in fpga_ice40_load()
Dfpga_ice40_bitbang.c180 if (gpio_pin_get_dt(&config->cdone) != 0) { in fpga_ice40_load()
211 ret = gpio_pin_get_dt(&config->cdone); in fpga_ice40_load()
/Zephyr-latest/drivers/sensor/ams/tmd2620/
Dtmd2620_trigger.c90 if (gpio_pin_get_dt(&config->int_gpio) > 0) { in tmd2620_trigger_set()
/Zephyr-latest/samples/basic/button/src/
Dmain.c94 int val = gpio_pin_get_dt(&button); in main()
/Zephyr-latest/drivers/w1/
Dw1_zephyr_gpio.c159 ret = gpio_pin_get_dt(spec); in w1_gpio_reset_bus()
194 ret = gpio_pin_get_dt(spec); in w1_gpio_read_bit()
/Zephyr-latest/drivers/regulator/
Dregulator_npm1100.c51 ret = gpio_pin_get_dt(&config->mode); in regulator_npm1100_get_mode()
/Zephyr-latest/drivers/spi/
Dspi_bitbang.c186 b = gpio_pin_get_dt(miso); in spi_bitbang_transceive()
195 b = gpio_pin_get_dt(miso); in spi_bitbang_transceive()
/Zephyr-latest/modules/nrf_wifi/bus/
Drpu_hw_if.c253 LOG_DBG("Bucken = %d, IOVDD = %d", gpio_pin_get_dt(&bucken_spec), in rpu_pwron()
254 gpio_pin_get_dt(&iovdd_ctrl_spec)); in rpu_pwron()
/Zephyr-latest/samples/shields/npm1300_ek/src/
Dmain.c128 bool button_state = gpio_pin_get_dt(&button1) == 1; in main()
/Zephyr-latest/drivers/bluetooth/hci/
Dapollox_blue.c80 pin_state = gpio_pin_get_dt(&irq_gpio); in irq_pin_state()
89 pin_state = gpio_pin_get_dt(&clkreq_gpio); in clkreq_pin_state()
/Zephyr-latest/drivers/dp/
Dswdp_bitbang.c171 return gpio_pin_get_dt(&config->dio); in pin_swdio_in()
511 val = gpio_pin_get_dt(&config->reset); in sw_get_pins()
515 val = gpio_pin_get_dt(&config->dio); in sw_get_pins()
518 val = gpio_pin_get_dt(&config->clk); in sw_get_pins()
/Zephyr-latest/drivers/sensor/adi/adt7310/
Dadt7310_trigger.c92 value = gpio_pin_get_dt(&cfg->int_gpio); in adt7310_trigger_set()

1234