Searched refs:SW0_NODE (Results 1 – 13 of 13) sorted by relevance
/Zephyr-latest/samples/boards/espressif/light_sleep/src/ |
D | main.c | 17 #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/ |
D | main.c | 19 #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/ |
D | main.c | 28 #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/ |
D | main.c | 24 #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/ |
D | main.c | 32 #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/ |
D | main.c | 25 #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/ |
D | main.c | 17 #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/ |
D | app_gpio.c | 27 #define SW0_NODE DT_ALIAS(sw0) macro 48 GPIO_DT_SPEC_GET(SW0_NODE, gpios),
|
/Zephyr-latest/samples/bluetooth/peripheral_hids/src/ |
D | hog.c | 179 #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/ |
D | main.c | 32 #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/ |
D | main.c | 13 #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/ |
D | main.c | 76 #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/ |
D | index.rst | 400 #define SW0_NODE DT_ALIAS(sw0) 406 GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
|