Searched refs:BUTTON_NODE (Results 1 – 1 of 1) sorted by relevance
15 #define BUTTON_NODE DT_ALIAS(sw0) macro16 #define BUTTON_NAME DT_PROP_OR(BUTTON_NODE, label, "sw0")18 #if DT_NODE_EXISTS(BUTTON_NODE)43 #if DT_NODE_EXISTS(BUTTON_NODE) in main()44 const struct gpio_dt_spec btn = GPIO_DT_SPEC_GET(BUTTON_NODE, gpios); in main()74 #if DT_NODE_EXISTS(BUTTON_NODE) in main()120 #if DT_NODE_EXISTS(BUTTON_NODE) in main()132 #if DT_NODE_EXISTS(BUTTON_NODE) in main()