Home
last modified time | relevance | path

Searched refs:sw0 (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/Zephyr-latest/samples/boards/nordic/system_off/src/
Dmain.c25 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/
Dmpfs_icicle_common.dtsi17 sw0 = &sw0;
33 sw0: sw0 { label
/Zephyr-latest/samples/subsys/display/lvgl/
DKconfig9 bool "Reset counter when sw0 is pressed"
10 depends on $(dt_alias_enabled,sw0)
/Zephyr-latest/samples/bluetooth/mesh_provisioner/
DKconfig9 bool "Use sw0 button to provision"
10 depends on $(dt_alias_enabled,sw0)
/Zephyr-latest/samples/bluetooth/mesh/src/
Dboard.c23 #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/
DKconfig10 bool "Toggle echo effect when pressing sw0"
11 depends on $(dt_alias_enabled,sw0)
/Zephyr-latest/samples/bluetooth/peripheral_hids/src/
Dhog.c179 #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/
DREADME.rst23 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/
Dmain.c28 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/
Dcc3235sf_launchxl.dts24 /* sw0/1 alias defined for compatibility with samples */
25 sw0 = &sw2;
/Zephyr-latest/samples/shields/x_nucleo_53l0a1/
DREADME.rst13 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/
Dcc3220sf_launchxl.dts21 /* sw0/1 alias defined for compatibility with samples */
22 sw0 = &sw2;
/Zephyr-latest/samples/boards/nordic/nrfx/src/
Dmain.c16 #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/
Dnucleo_l552ze_q.dts26 sw0 = &user_button;
/Zephyr-latest/samples/boards/nordic/dynamic_pinctrl/src/
Dremap.c34 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/
Dmain.c17 static const struct gpio_dt_spec sw0_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios);
/Zephyr-latest/samples/bluetooth/st_ble_sensor/src/
Dbutton_svc.c25 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios);
/Zephyr-latest/boards/luatos/esp32s3_luatos_core/
Desp32s3_luatos_core_procpu.dts20 sw0 = &button0;
Desp32s3_luatos_core_procpu_usb.dts20 sw0 = &button0;
/Zephyr-latest/samples/boards/espressif/light_sleep/src/
Dmain.c17 #define SW0_NODE DT_ALIAS(sw0)
/Zephyr-latest/boards/infineon/cy8cproto_062_4343w/
Dcy8cproto_062_4343w-common.dtsi11 sw0 = &user_bt;
/Zephyr-latest/boards/infineon/cyw920829m2evk_02/
Dcyw920829m2evk_02-common.dtsi12 sw0 = &user_bt0;
/Zephyr-latest/boards/st/nucleo_u575zi_q/
Dnucleo_u575zi_q.dts27 sw0 = &user_button;
/Zephyr-latest/boards/digilent/arty_a7/dts/
Darty_a7_arm_designstart.dtsi25 sw0 = &sw0;
105 sw0: sw0 { label
/Zephyr-latest/boards/st/stm32l562e_dk/
Dstm32l562e_dk.dts28 sw0 = &user_button;

12345678910>>...19