/Zephyr-latest/samples/boards/nordic/system_off/src/ |
D | main.c | 25 static const struct gpio_dt_spec sw0 = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios); variable 69 rc = gpio_pin_configure_dt(&sw0, GPIO_INPUT); in main() 75 rc = gpio_pin_interrupt_configure_dt(&sw0, GPIO_INT_LEVEL_ACTIVE); in main()
|
/Zephyr-latest/boards/microchip/mpfs_icicle/ |
D | mpfs_icicle_common.dtsi | 17 sw0 = &sw0; 33 sw0: sw0 { label
|
/Zephyr-latest/samples/subsys/display/lvgl/ |
D | Kconfig | 9 bool "Reset counter when sw0 is pressed" 10 depends on $(dt_alias_enabled,sw0)
|
/Zephyr-latest/samples/bluetooth/mesh_provisioner/ |
D | Kconfig | 9 bool "Use sw0 button to provision" 10 depends on $(dt_alias_enabled,sw0)
|
/Zephyr-latest/samples/bluetooth/mesh/src/ |
D | board.c | 23 #if DT_NODE_EXISTS(DT_ALIAS(sw0)) 24 #define BUTTON0 DT_ALIAS(sw0) 27 #elif DT_NODE_EXISTS(DT_NODELABEL(sw0)) 28 #define BUTTON0 DT_NODELABEL(sw0)
|
/Zephyr-latest/samples/drivers/i2s/echo/ |
D | Kconfig | 10 bool "Toggle echo effect when pressing sw0" 11 depends on $(dt_alias_enabled,sw0)
|
/Zephyr-latest/samples/bluetooth/peripheral_hids/src/ |
D | hog.c | 179 #define SW0_NODE DT_ALIAS(sw0) 184 const struct gpio_dt_spec sw0 = GPIO_DT_SPEC_GET(SW0_NODE, gpios); in hog_button_loop() local 186 gpio_pin_configure_dt(&sw0, GPIO_INPUT); in hog_button_loop() 197 if (gpio_pin_get_dt(&sw0)) { in hog_button_loop()
|
/Zephyr-latest/samples/basic/button/ |
D | README.rst | 23 The button must be configured using the ``sw0`` :ref:`devicetree <dt-guide>` 29 Unsupported board: sw0 devicetree alias is not defined 31 You may see additional build errors if the ``sw0`` alias exists, but is not 45 includes a ``sw0`` alias; the optional ``led0`` alias is left out for 52 sw0 = &button0; 74 As shown, the ``sw0`` devicetree alias must point to a child node of a node
|
/Zephyr-latest/samples/boards/bbc/microbit/sound/src/ |
D | main.c | 28 static const struct gpio_dt_spec sw0_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios); 32 BUILD_ASSERT(DT_SAME_NODE(DT_GPIO_CTLR(DT_ALIAS(sw0), gpios), DT_GPIO_CTLR(DT_ALIAS(sw1), gpios)));
|
/Zephyr-latest/boards/ti/cc3235sf_launchxl/ |
D | cc3235sf_launchxl.dts | 24 /* sw0/1 alias defined for compatibility with samples */ 25 sw0 = &sw2;
|
/Zephyr-latest/samples/shields/x_nucleo_53l0a1/ |
D | README.rst | 13 other, press the button ``sw0``. 31 To switch from one mode to another, press the button ``sw0`` 39 and devicetree). The board must also have a button with the alias ``sw0``
|
/Zephyr-latest/boards/ti/cc3220sf_launchxl/ |
D | cc3220sf_launchxl.dts | 21 /* sw0/1 alias defined for compatibility with samples */ 22 sw0 = &sw2;
|
/Zephyr-latest/samples/boards/nordic/nrfx/src/ |
D | main.c | 16 #define INPUT_PIN NRF_DT_GPIOS_TO_PSEL(DT_ALIAS(sw0), gpios) 19 #define GPIOTE_INST NRF_DT_GPIOTE_INST(DT_ALIAS(sw0), gpios)
|
/Zephyr-latest/boards/st/nucleo_l552ze_q/ |
D | nucleo_l552ze_q.dts | 26 sw0 = &user_button;
|
/Zephyr-latest/samples/boards/nordic/dynamic_pinctrl/src/ |
D | remap.c | 34 const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(DT_ALIAS(sw0), in remap_pins()
|
/Zephyr-latest/samples/boards/ti/cc13x2_cc26x2/system_off/src/ |
D | main.c | 17 static const struct gpio_dt_spec sw0_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios);
|
/Zephyr-latest/samples/bluetooth/st_ble_sensor/src/ |
D | button_svc.c | 25 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios);
|
/Zephyr-latest/boards/luatos/esp32s3_luatos_core/ |
D | esp32s3_luatos_core_procpu.dts | 20 sw0 = &button0;
|
D | esp32s3_luatos_core_procpu_usb.dts | 20 sw0 = &button0;
|
/Zephyr-latest/samples/boards/espressif/light_sleep/src/ |
D | main.c | 17 #define SW0_NODE DT_ALIAS(sw0)
|
/Zephyr-latest/boards/infineon/cy8cproto_062_4343w/ |
D | cy8cproto_062_4343w-common.dtsi | 11 sw0 = &user_bt;
|
/Zephyr-latest/boards/infineon/cyw920829m2evk_02/ |
D | cyw920829m2evk_02-common.dtsi | 12 sw0 = &user_bt0;
|
/Zephyr-latest/boards/st/nucleo_u575zi_q/ |
D | nucleo_u575zi_q.dts | 27 sw0 = &user_button;
|
/Zephyr-latest/boards/digilent/arty_a7/dts/ |
D | arty_a7_arm_designstart.dtsi | 25 sw0 = &sw0; 105 sw0: sw0 { label
|
/Zephyr-latest/boards/st/stm32l562e_dk/ |
D | stm32l562e_dk.dts | 28 sw0 = &user_button;
|