Home
last modified time | relevance | path

Searched refs:GPIO_DT_SPEC_GET_OR (Results 1 – 25 of 40) sorted by relevance

12

/Zephyr-latest/tests/drivers/gpio/gpio_hogs/src/
Dmain.c13 GPIO_DT_SPEC_GET_OR(ZEPHYR_USER_NODE, output_high_gpios, {0});
15 GPIO_DT_SPEC_GET_OR(ZEPHYR_USER_NODE, output_low_gpios, {0});
17 GPIO_DT_SPEC_GET_OR(ZEPHYR_USER_NODE, input_gpios, {0});
/Zephyr-latest/tests/drivers/stepper/drv8424/emul/src/
Dmain.c20 struct gpio_dt_spec en_pin = GPIO_DT_SPEC_GET_OR(DT_NODELABEL(drv8424), en_gpios, {0});
21 struct gpio_dt_spec slp_pin = GPIO_DT_SPEC_GET_OR(DT_NODELABEL(drv8424), sleep_gpios, {0});
/Zephyr-latest/samples/basic/button/src/
Dmain.c28 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios,
36 static struct gpio_dt_spec led = GPIO_DT_SPEC_GET_OR(DT_ALIAS(led0), gpios,
/Zephyr-latest/samples/basic/threads/src/
Dmain.c45 .spec = GPIO_DT_SPEC_GET_OR(LED0_NODE, gpios, {0}),
50 .spec = GPIO_DT_SPEC_GET_OR(LED1_NODE, gpios, {0}),
/Zephyr-latest/samples/basic/custom_dts_binding/src/
Dmain.c18 GPIO_DT_SPEC_GET_OR(DT_NODELABEL(load_switch), gpios, {0});
/Zephyr-latest/samples/modules/canopennode/src/
Dmain.c22 static struct gpio_dt_spec led_green_gpio = GPIO_DT_SPEC_GET_OR(
24 static struct gpio_dt_spec led_red_gpio = GPIO_DT_SPEC_GET_OR(
27 static struct gpio_dt_spec button_gpio = GPIO_DT_SPEC_GET_OR(
/Zephyr-latest/include/zephyr/drivers/adc/
Dcurrent_sense_amplifier.h37 .power_gpio = GPIO_DT_SPEC_GET_OR(node_id, power_gpios, {0}), \
/Zephyr-latest/samples/boards/nordic/dynamic_pinctrl/src/
Dremap.c34 const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(DT_ALIAS(sw0), in remap_pins()
/Zephyr-latest/samples/subsys/mgmt/osdp/peripheral_device/src/
Dmain.c19 static const struct gpio_dt_spec led0 = GPIO_DT_SPEC_GET_OR(LED0_NODE, gpios, {0});
/Zephyr-latest/samples/subsys/usb/hid-keyboard/src/
Dmain.c30 GPIO_DT_SPEC_GET_OR(DT_ALIAS(led0), gpios, {0}),
31 GPIO_DT_SPEC_GET_OR(DT_ALIAS(led1), gpios, {0}),
32 GPIO_DT_SPEC_GET_OR(DT_ALIAS(led2), gpios, {0}),
/Zephyr-latest/samples/boards/espressif/light_sleep/src/
Dmain.c29 GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
/Zephyr-latest/samples/net/lwm2m_client/src/
Dled.c20 static const struct gpio_dt_spec led_gpio = GPIO_DT_SPEC_GET_OR(DT_ALIAS(led0), gpios, {});
/Zephyr-latest/samples/boards/nxp/mimxrt1060_evk/system_off/src/
Dmain.c31 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, { 0 });
/Zephyr-latest/samples/bluetooth/encrypted_advertising/peripheral/src/
Dmain.c32 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
/Zephyr-latest/samples/subsys/mgmt/osdp/control_panel/src/
Dmain.c19 static const struct gpio_dt_spec led0 = GPIO_DT_SPEC_GET_OR(LED0_NODE, gpios, {0});
/Zephyr-latest/samples/bluetooth/encrypted_advertising/central/src/
Dmain.c36 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/src/
Dmain.c36 GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
/Zephyr-latest/drivers/regulator/
Dregulator_npm1100.c114 .mode = GPIO_DT_SPEC_GET_OR(node_id, nordic_mode_gpios, {}), \
Dregulator_npm1300.c656 .enable_gpios = GPIO_DT_SPEC_GET_OR(node_id, enable_gpios, {0}), \
657 .retention_gpios = GPIO_DT_SPEC_GET_OR(node_id, retention_gpios, {0}), \
658 .pwm_gpios = GPIO_DT_SPEC_GET_OR(node_id, pwm_gpios, {0})}; \
/Zephyr-latest/samples/subsys/display/lvgl/src/
Dmain.c24 static struct gpio_dt_spec button_gpio = GPIO_DT_SPEC_GET_OR(
/Zephyr-latest/samples/bluetooth/central_otc/src/
Dmain.c85 static const struct gpio_dt_spec button0 = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
86 static const struct gpio_dt_spec button1 = GPIO_DT_SPEC_GET_OR(SW1_NODE, gpios, {0});
87 static const struct gpio_dt_spec button2 = GPIO_DT_SPEC_GET_OR(SW2_NODE, gpios, {0});
88 static const struct gpio_dt_spec button3 = GPIO_DT_SPEC_GET_OR(SW3_NODE, gpios, {0});
/Zephyr-latest/drivers/wifi/infineon/
Dairoc_wifi.c87 .bus_select_gpio = GPIO_DT_SPEC_GET_OR(DT_DRV_INST(0), bus_select_gpios, {0}),
92 .wifi_reg_on_gpio = GPIO_DT_SPEC_GET_OR(DT_DRV_INST(0), wifi_reg_on_gpios, {0}),
93 .wifi_host_wake_gpio = GPIO_DT_SPEC_GET_OR(DT_DRV_INST(0), wifi_host_wake_gpios, {0}),
94 .wifi_dev_wake_gpio = GPIO_DT_SPEC_GET_OR(DT_DRV_INST(0), wifi_dev_wake_gpios, {0}),
/Zephyr-latest/samples/boards/nordic/battery/src/
Dbattery.c58 .power_gpios = GPIO_DT_SPEC_GET_OR(VBATT, power_gpios, {}),
/Zephyr-latest/drivers/i2c/
Di2c_tca954x.c187 .reset_gpios = GPIO_DT_SPEC_GET_OR( \
/Zephyr-latest/drivers/sensor/ti/ti_hdc20xx/
Dti_hdc20xx.c249 .gpio_int = GPIO_DT_SPEC_GET_OR(DT_INST(inst, compat), int_gpios, {0}), \

12