Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/can/babbling/src/
Dmain.c15 #define BUTTON_NODE DT_ALIAS(sw0) macro
16 #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()