Home
last modified time | relevance | path

Searched refs:SW1_NODE (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/
Dapp_gpio.c28 #define SW1_NODE DT_ALIAS(sw1) macro
50 GPIO_DT_SPEC_GET(SW1_NODE, gpios),
/Zephyr-latest/samples/drivers/i2s/echo/src/
Dmain.c37 #define SW1_NODE DT_ALIAS(sw1) macro
39 static struct gpio_dt_spec sw1_spec = GPIO_DT_SPEC_GET(SW1_NODE, gpios);
/Zephyr-latest/samples/bluetooth/central_otc/src/
Dmain.c77 #define SW1_NODE DT_ALIAS(sw1) macro
80 #if !DT_NODE_HAS_STATUS_OKAY(SW0_NODE) || !DT_NODE_HAS_STATUS_OKAY(SW1_NODE) || \
86 static const struct gpio_dt_spec button1 = GPIO_DT_SPEC_GET_OR(SW1_NODE, gpios, {0});