Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/samples/drivers/i2s/echo/src/
Dmain.c37 #define SW1_NODE DT_ALIAS(sw1) macro
38 #if DT_NODE_HAS_STATUS(SW1_NODE, okay)
39 static struct gpio_dt_spec sw1_spec = GPIO_DT_SPEC_GET(SW1_NODE, gpios);
61 #if DT_NODE_HAS_STATUS(SW1_NODE, okay)
101 #if DT_NODE_HAS_STATUS(SW1_NODE, okay) in init_buttons()
/Zephyr-Core-3.7.0/samples/boards/nrf/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-Core-3.7.0/samples/bluetooth/central_otc/src/
Dmain.c77 #define SW1_NODE DT_ALIAS(sw1) macro
80 #if !DT_NODE_HAS_STATUS(SW0_NODE, okay) || !DT_NODE_HAS_STATUS(SW1_NODE, okay) || \
86 static const struct gpio_dt_spec button1 = GPIO_DT_SPEC_GET_OR(SW1_NODE, gpios, {0});