Searched refs:SW1_NODE (Results 1 – 3 of 3) sorted by relevance
28 #define SW1_NODE DT_ALIAS(sw1) macro50 GPIO_DT_SPEC_GET(SW1_NODE, gpios),
37 #define SW1_NODE DT_ALIAS(sw1) macro39 static struct gpio_dt_spec sw1_spec = GPIO_DT_SPEC_GET(SW1_NODE, gpios);
77 #define SW1_NODE DT_ALIAS(sw1) macro80 #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});