Home
last modified time | relevance | path

Searched +full:led0 +full:- +full:mode (Results 1 – 25 of 66) sorted by relevance

123

/Zephyr-Core-3.5.0/dts/bindings/led/
Dnordic,npm1300-led.yaml2 # SPDX-License-Identifier: Apache-2.0
11 compatible: "nordic,npm1300-led"
14 nordic,led0-mode:
18 - error
19 - charging
20 - host
21 description: LED 0 mode
23 nordic,led1-mode:
27 - error
28 - charging
[all …]
/Zephyr-Core-3.5.0/boards/arm/efr32_thunderboard/
Defr32bg22_brd4184.dtsi4 * SPDX-License-Identifier: Apache-2.0
12 led0 = &led0;
14 spi-flash0 = &mx25r80;
17 /* If enabled, MCUboot uses this for recovery mode entrance */
18 mcuboot-led0 = &led0;
19 mcuboot-button0 = &button0;
23 zephyr,code-partition = &slot0_partition;
33 read-only;
38 label = "image-0";
44 label = "image-1";
[all …]
Defr32bg27_brd2602a.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <silabs/efr32bg2x-pinctrl.dtsi>
13 model = "Silicon Labs EFR32BG27C140F768IM40 Thunderboard-style board";
19 led0 = &led0;
21 spi-flash0 = &mx25r80;
24 /* If enabled, MCUboot uses this for recovery mode entrance */
25 mcuboot-led0 = &led0;
26 mcuboot-button0 = &button0;
30 zephyr,code-partition = &slot0_partition;
[all …]
/Zephyr-Core-3.5.0/dts/bindings/ethernet/
Dadi,adin2111-phy.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "adi,adin2111-phy"
10 on-bus: mdio
15 description: 5-bit physical/port address (PRTAD).
16 led0-en:
19 led1-en:
22 disable-tx-mode-24v:
25 Disables requirement of 2.4V TX operating mode in the AN advertisement.
/Zephyr-Core-3.5.0/samples/boards/stm32/power_mgmt/standby_shutdown/
Dsample.yaml6 - nucleo_l476rg
7 - disco_l475_iot1
9 - LED
10 - power
15 - "Reset cause: Reset pin"
16 - "Device ready: .*"
17 - "Press and hold the user button:"
18 - "when LED2 is OFF to power off"
19 - "when LED2 is ON to enter to Standby Mode"
20 filter: dt_compat_enabled("zephyr,power-state") and dt_enabled_alias_with_parent_compat("led0",
[all …]
/Zephyr-Core-3.5.0/samples/subsys/debug/debugmon/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
13 #define LED0_NODE DT_ALIAS(led0)
25 * Cannot enable monitor mode if C_DEBUGEN bit is set. This bit can only be in debug_mon_enable()
26 * altered from debug access port. It is cleared on power-on-reset. in debug_mon_enable()
28 bool is_in_halting_mode = (CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) == 1; in debug_mon_enable()
31 return -1; in debug_mon_enable()
34 /* Enable monitor mode debugging by setting MON_EN bit of DEMCR */ in debug_mon_enable()
35 CoreDebug->DEMCR |= CoreDebug_DEMCR_MON_EN_Msk; in debug_mon_enable()
41 * enters a breakpoint while debugging in monitor mode.
53 /* Spin in breakpoint. Other, higher-priority interrupts will continue to execute */ in z_arm_debug_monitor()
[all …]
/Zephyr-Core-3.5.0/boards/shields/npm1300_ek/
Dnpm1300_ek.overlay3 * SPDX-License-Identifier: Apache-2.0
6 #include <dt-bindings/regulator/npm1300.h>
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 npm1300_ek_gpio: gpio-controller {
15 compatible = "nordic,npm1300-gpio";
16 gpio-controller;
17 #gpio-cells = <2>;
22 compatible = "nordic,npm1300-regulator";
26 regulator-min-microvolt = <1800000>;
27 regulator-max-microvolt = <3300000>;
[all …]
/Zephyr-Core-3.5.0/tests/drivers/gpio/gpio_get_direction/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
11 #define TEST_NODE DT_GPIO_CTLR(DT_ALIAS(led0), gpios)
12 #define TEST_PIN DT_GPIO_PIN(DT_ALIAS(led0), gpios)
13 #define TEST_PIN_DTS_FLAGS DT_GPIO_FLAGS(DT_ALIAS(led0), gpios)
35 zassert_true(device_is_ready(fixture->port), "GPIO device is not ready"); in gpio_get_direction_before()
42 rv = gpio_pin_configure(fixture->port, fixture->pin, fixture->flags); in common()
43 if (rv == -ENOTSUP) { in common()
44 /* some drivers / hw might not support e.g. input-output or disconnect */ in common()
55 fixture->flags = GPIO_DISCONNECTED; in ZTEST_F()
58 rv = gpio_pin_is_input(fixture->port, fixture->pin); in ZTEST_F()
[all …]
/Zephyr-Core-3.5.0/boards/arm/96b_meerkat96/
D96b_meerkat96.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "96b_meerkat96-pinctrl.dtsi"
13 compatible = "novtech,imx7d-meerkat96";
19 zephyr,shell-uart = &uart1;
23 compatible = "gpio-leds";
43 led0 = &green_led_0;
52 current-speed = <115200>;
53 modem-mode = <0>;
54 pinctrl-0 = <&uart1_default>;
[all …]
/Zephyr-Core-3.5.0/samples/subsys/debug/debugmon/
DREADME.rst1 .. _debugmon-sample:
14 #. Configure registers to enable degugging in debug monitor mode
17 .. _debugmon-sample-requirements:
24 #. Support Debug Monitor feature (available on Cortex-M processors with the exception of Cortex-M0)
27 #. Have the LED configured using the ``led0`` devicetree alias.
34 .. zephyr-app-commands::
35 :zephyr-app: samples/subsys/debug/debugmon
/Zephyr-Core-3.5.0/boards/arm/nrf21540dk_nrf52840/
Dnrf21540dk_nrf52840.dts5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
10 #include "nrf21540dk_nrf52840-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 compatible = "nordic,nrf21540-dk-nrf52840";
19 zephyr,shell-uart = &uart0;
20 zephyr,uart-mcumgr = &uart0;
21 zephyr,bt-mon-uart = &uart0;
22 zephyr,bt-c2h-uart = &uart0;
25 zephyr,code-partition = &slot0_partition;
[all …]
/Zephyr-Core-3.5.0/boards/arm/udoo_neo_full_m4/
Dudoo_neo_full_m4.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
28 #include "udoo_neo_full_m4-pinctrl.dtsi"
35 led0 = &red_led;
42 zephyr,shell-uart = &uart5;
46 compatible = "gpio-leds";
56 current-speed = <115200>;
57 modem-mode = <0>;
58 pinctrl-0 = <&uart5_default>;
59 pinctrl-names = "default";
/Zephyr-Core-3.5.0/samples/boards/stm32/power_mgmt/standby_shutdown/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
39 GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios);
45 /* Configure wake-up features */ in config_wakeup_features()
46 /* WKUP2(PC13) only , - active low, pull-up */ in config_wakeup_features()
47 /* Set pull-ups for standby modes */ in config_wakeup_features()
72 printk("Release the user button to wake-up\n\n"); in thread_poweroff_standby_mode()
79 printk("Standby Mode requested\n"); in thread_poweroff_standby_mode()
80 printk("Release the user button to exit from Standby Mode\n\n"); in thread_poweroff_standby_mode()
85 /* stay in Standby mode until wakeup line activated */ in thread_poweroff_standby_mode()
102 printk("\nReset cause: Standby mode\n\n"); in main()
[all …]
/Zephyr-Core-3.5.0/boards/arm/ubx_bmd345eval_nrf52840/
Dubx_bmd345eval_nrf52840.dts2 * BMD-340-EVAL board configuration
3 * Copyright (c) 2021 u-blox AG
6 * SPDX-License-Identifier: Apache-2.0
9 /dts-v1/;
11 #include "ubx_bmd345eval_nrf52840-pinctrl.dtsi"
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 model = "u-blox BMD-345-EVAL EVK nRF52840";
16 compatible = "u-blox,ubx-bmd345eval-nrf52840";
20 zephyr,shell-uart = &uart0;
21 zephyr,uart-mcumgr = &uart0;
[all …]
/Zephyr-Core-3.5.0/boards/riscv/it82xx2_evb/
Dit82xx2_evb.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
8 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <ite/it8xxx2-pinctrl-map.dtsi>
13 model = "IT82XX2 EV-Board";
14 compatible = "ite,it82xx2-evb";
17 i2c-0 = &i2c0;
18 peci-0 = &peci0;
19 led0 = &led0;
22 pwm-0 = &pwm0;
[all …]
/Zephyr-Core-3.5.0/boards/riscv/it8xxx2_evb/
Dit8xxx2_evb.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
8 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <ite/it8xxx2-pinctrl-map.dtsi>
13 model = "IT8XXX2 EV-Board";
14 compatible = "ite,it8xxx2-evb";
17 i2c-0 = &i2c0;
18 peci-0 = &peci0;
19 led0 = &led0;
22 pwm-0 = &pwm0;
[all …]
/Zephyr-Core-3.5.0/samples/basic/button/
DREADME.rst1 .. zephyr:code-sample:: button
3 :relevant-api: gpio_interface
19 The button must be configured using the ``sw0`` :ref:`devicetree <dt-guide>`
20 alias, usually in the :ref:`BOARD.dts file <devicetree-in-out-files>`. You will
23 .. code-block:: none
30 The sample additionally supports an optional ``led0`` devicetree alias. This is
31 the same alias used by the :zephyr:code-sample:`blinky` sample. If this is provided, the LED
41 includes a ``sw0`` alias; the optional ``led0`` alias is left out for
44 .. code-block:: devicetree
54 gpio-controller;
[all …]
/Zephyr-Core-3.5.0/boards/arm/colibri_imx7d_m4/
Dcolibri_imx7d_m4.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "colibri_imx7d_m4-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 led0 = &green_led;
26 zephyr,shell-uart = &uart2;
30 compatible = "gpio-leds";
38 compatible = "gpio-keys";
49 current-speed = <115200>;
50 modem-mode = <64>;
[all …]
/Zephyr-Core-3.5.0/boards/arm/bt510/
Dbt510.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "bt510-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 zephyr,shell-uart = &uart0;
19 zephyr,uart-mcumgr = &uart0;
20 zephyr,bt-mon-uart = &uart0;
21 zephyr,bt-c2h-uart = &uart0;
24 zephyr,code-partition = &slot0_partition;
29 compatible = "gpio-leds";
[all …]
/Zephyr-Core-3.5.0/boards/arm/mr_canhubk3/
Dmr_canhubk3.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
12 #include <dt-bindings/pwm/pwm.h>
13 #include "mr_canhubk3-pinctrl.dtsi"
16 model = "NXP MR-CANHUBK3";
24 zephyr,code-partition = &code_partition;
26 zephyr,shell-uart = &lpuart2;
27 zephyr,flash-controller = &mx25l6433f;
[all …]
/Zephyr-Core-3.5.0/boards/arm/atsaml21_xpro/doc/
Dindex.rst10 prototyping with the SAM L21 Cortex®-M0+ processor-based
15 .. image:: img/atsaml21-xpro.jpg
17 :alt: ATSAML21-XPRO
22 - ATSAML21J18 ARM Cortex-M0+ processor at 48 MHz
23 - 32.768 kHz crystal oscillator
24 - 256 KiB flash memory, 32 KiB of SRAM, 8KB Low Power SRAM
25 - One yellow user LED
26 - One mechanical user push button
27 - One reset button
28 - On-board USB based EDBG unit with serial console
[all …]
/Zephyr-Core-3.5.0/boards/arm/atsamc21n_xpro/doc/
Dindex.rst10 prototyping with the SAM C21N Cortex®-M0+ processor-based
17 :alt: ATSAMC21N-XPRO
22 - ATSAMC21N18A ARM Cortex-M0+ processor at 48 MHz
23 - 32.768 kHz crystal oscillator
24 - 256 KiB flash memory, 32 KiB of RAM, 8KB RRW flash
25 - One yellow user LED
26 - One mechanical user push button
27 - One reset button
28 - One QTouch® button
29 - On-board USB based EDBG unit with serial console
[all …]
/Zephyr-Core-3.5.0/boards/arm/atsamd21_xpro/doc/
Dindex.rst10 prototyping with the SAM D21 Cortex®-M0+ processor-based
18 :alt: ATSAMD21-XPRO
20 ATSAMD21-XPRO (Credit: `Microchip Technology`_)
25 - ATSAMD21J18 ARM Cortex-M0+ processor at 48 MHz
26 - 32.768 kHz crystal oscillator
27 - 256 KiB flash memory and 32 KiB of RAM
28 - One yellow user LED
29 - One mechanical user push button
30 - One reset button
31 - On-board USB based EDBG unit with serial console
[all …]
/Zephyr-Core-3.5.0/boards/arm/atsamr34_xpro/doc/
Dindex.rst10 prototyping with the SAM R34 Cortex®-M0+ processor-based
15 The SAMR34 and SAMR35 parts are produced as a System-in-Package (SiP),
20 .. image:: img/atsamr34-xpro.jpg
22 :alt: ATSAMR34-XPRO
27 - ATSAMR34J18 ARM Cortex-M0+ processor at 48 MHz
28 - 32.768 kHz crystal oscillator
29 - 256 KiB flash memory, 32 KiB of SRAM, 8KB Low Power SRAM
30 - One yellow user LED
31 - One mechanical user push button
32 - One reset button
[all …]
/Zephyr-Core-3.5.0/boards/arm/nrf9160_innblue21/
Dnrf9160_innblue21_common.dtsi4 * SPDX-License-Identifier: Apache-2.0
6 #include "nrf9160_innblue21_common-pinctrl.dtsi"
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 zephyr,shell-uart = &uart0;
16 zephyr,uart-mcumgr = &uart0;
20 compatible = "gpio-leds";
36 label = "mode red channel";
41 compatible = "gpio-keys";
50 en_3v3_sensor: enable-3v3-sensor {
51 compatible = "regulator-fixed";
[all …]

123