Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/espressif/light_sleep/src/
Dmain.c17 #define SW0_NODE DT_ALIAS(sw0) macro
19 #if !DT_NODE_HAS_STATUS_OKAY(SW0_NODE)
29 GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
/Zephyr-latest/samples/boards/nxp/mimxrt1060_evk/system_off/src/
Dmain.c19 #define SW0_NODE DT_ALIAS(sw0) macro
20 #if !DT_NODE_HAS_STATUS_OKAY(SW0_NODE)
31 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, { 0 });
/Zephyr-latest/samples/bluetooth/encrypted_advertising/peripheral/src/
Dmain.c28 #define SW0_NODE DT_ALIAS(sw0) macro
29 #if !DT_NODE_HAS_STATUS_OKAY(SW0_NODE)
32 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
/Zephyr-latest/samples/basic/button/src/
Dmain.c24 #define SW0_NODE DT_ALIAS(sw0) macro
25 #if !DT_NODE_HAS_STATUS_OKAY(SW0_NODE)
28 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios,
/Zephyr-latest/samples/bluetooth/encrypted_advertising/central/src/
Dmain.c32 #define SW0_NODE DT_ALIAS(sw0) macro
33 #if !DT_NODE_HAS_STATUS_OKAY(SW0_NODE)
36 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/src/
Dmain.c25 #define SW0_NODE DT_ALIAS(sw0) macro
26 #if !DT_NODE_HAS_STATUS_OKAY(SW0_NODE)
36 GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
/Zephyr-latest/samples/shields/x_nucleo_53l0a1/src/
Dmain.c17 #define SW0_NODE DT_ALIAS(sw0) macro
18 #if !DT_NODE_HAS_STATUS_OKAY(SW0_NODE)
121 const struct gpio_dt_spec button = GPIO_DT_SPEC_GET(SW0_NODE, gpios); in main()
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/
Dapp_gpio.c27 #define SW0_NODE DT_ALIAS(sw0) macro
48 GPIO_DT_SPEC_GET(SW0_NODE, gpios),
/Zephyr-latest/samples/bluetooth/peripheral_hids/src/
Dhog.c179 #define SW0_NODE DT_ALIAS(sw0) macro
183 #if DT_NODE_HAS_STATUS_OKAY(SW0_NODE) in hog_button_loop()
184 const struct gpio_dt_spec sw0 = GPIO_DT_SPEC_GET(SW0_NODE, gpios); in hog_button_loop()
/Zephyr-latest/samples/drivers/i2s/echo/src/
Dmain.c32 #define SW0_NODE DT_ALIAS(sw0) macro
34 static struct gpio_dt_spec sw0_spec = GPIO_DT_SPEC_GET(SW0_NODE, gpios);
/Zephyr-latest/samples/bluetooth/mesh_provisioner/src/
Dmain.c13 #define SW0_NODE DT_ALIAS(sw0) macro
319 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
/Zephyr-latest/samples/bluetooth/central_otc/src/
Dmain.c76 #define SW0_NODE DT_ALIAS(sw0) macro
80 #if !DT_NODE_HAS_STATUS_OKAY(SW0_NODE) || !DT_NODE_HAS_STATUS_OKAY(SW1_NODE) || \
85 static const struct gpio_dt_spec button0 = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
/Zephyr-latest/doc/services/smf/
Dindex.rst400 #define SW0_NODE DT_ALIAS(sw0)
406 GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});