Searched refs:GPIO_DT_SPEC_GET_OR (Results 1 – 25 of 40) sorted by relevance
12
/Zephyr-latest/tests/drivers/gpio/gpio_hogs/src/ |
D | main.c | 13 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/ |
D | main.c | 20 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/ |
D | main.c | 28 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/ |
D | main.c | 45 .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/ |
D | main.c | 18 GPIO_DT_SPEC_GET_OR(DT_NODELABEL(load_switch), gpios, {0});
|
/Zephyr-latest/samples/modules/canopennode/src/ |
D | main.c | 22 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/ |
D | current_sense_amplifier.h | 37 .power_gpio = GPIO_DT_SPEC_GET_OR(node_id, power_gpios, {0}), \
|
/Zephyr-latest/samples/boards/nordic/dynamic_pinctrl/src/ |
D | remap.c | 34 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/ |
D | main.c | 19 static const struct gpio_dt_spec led0 = GPIO_DT_SPEC_GET_OR(LED0_NODE, gpios, {0});
|
/Zephyr-latest/samples/subsys/usb/hid-keyboard/src/ |
D | main.c | 30 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/ |
D | main.c | 29 GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
|
/Zephyr-latest/samples/net/lwm2m_client/src/ |
D | led.c | 20 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/ |
D | main.c | 31 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, { 0 });
|
/Zephyr-latest/samples/bluetooth/encrypted_advertising/peripheral/src/ |
D | main.c | 32 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/ |
D | main.c | 19 static const struct gpio_dt_spec led0 = GPIO_DT_SPEC_GET_OR(LED0_NODE, gpios, {0});
|
/Zephyr-latest/samples/bluetooth/encrypted_advertising/central/src/ |
D | main.c | 36 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/ |
D | main.c | 36 GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
|
/Zephyr-latest/drivers/regulator/ |
D | regulator_npm1100.c | 114 .mode = GPIO_DT_SPEC_GET_OR(node_id, nordic_mode_gpios, {}), \
|
D | regulator_npm1300.c | 656 .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/ |
D | main.c | 24 static struct gpio_dt_spec button_gpio = GPIO_DT_SPEC_GET_OR(
|
/Zephyr-latest/samples/bluetooth/central_otc/src/ |
D | main.c | 85 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/ |
D | airoc_wifi.c | 87 .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/ |
D | battery.c | 58 .power_gpios = GPIO_DT_SPEC_GET_OR(VBATT, power_gpios, {}),
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_tca954x.c | 187 .reset_gpios = GPIO_DT_SPEC_GET_OR( \
|
/Zephyr-latest/drivers/sensor/ti/ti_hdc20xx/ |
D | ti_hdc20xx.c | 249 .gpio_int = GPIO_DT_SPEC_GET_OR(DT_INST(inst, compat), int_gpios, {0}), \
|
12