Home
last modified time | relevance | path

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

12345

/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/
DREADME.rst1 .. zephyr:code-sample:: stm32_pm_shutdown
2 :name: Standby/Shutdown mode
3 :relevant-api: sys_poweroff subsys_pm_sys
5 Enter and exit Standby/Shutdown mode on STM32.
10 This sample is a minimum application to demonstrate basic power management of Standby mode and
11 shutdown mode
12 behavior in a basic blinking LED set up you can enter in shutdown mode or in standbymode mode.
14 when LED2 is OFF to enter to Shutdown Mode
15 when LED2 is ON to enter to Standby Mode
16 release the user button to exit from shutdown mode or from shutdown mode.
[all …]
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-latest/drivers/sensor/maxim/max30101/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
48 prompt "Mode control"
52 bool "Heart rate mode"
54 Set to operate in heart rate only mode. The red LED channel is
58 bool "SpO2 mode"
60 Set to operate in SpO2 mode. The red and IR LED channels are active.
63 bool "Multi-LED mode"
65 Set to operate in multi-LED mode. The green, red, and/or IR LED
75 Set the ADC's full-scale range.
87 pulse/conversion per active LED channel. In SpO2 mode, these means
[all …]
/Zephyr-latest/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-latest/boards/96boards/meerkat96/
D96b_meerkat96_mcimx7d_m4.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";
30 label = "User LED2";
45 led2 = &green_led_2;
52 current-speed = <115200>;
53 modem-mode = <0>;
[all …]
/Zephyr-latest/boards/electronut/nrf52840_papyr/
Dnrf52840_papyr.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "nrf52840_papyr-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 compatible = "nordic,pca10056-dk";
19 zephyr,uart-mcumgr = &uart0;
20 zephyr,shell-uart = &uart0;
21 zephyr,bt-mon-uart = &uart0;
22 zephyr,bt-c2h-uart = &uart0;
27 compatible = "gpio-leds";
[all …]
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
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()
106 printk("\nReset cause: Shutdown mode or power up\n\n"); in main()
[all …]
/Zephyr-latest/boards/ct/ctcc/
Dctcc_nrf52840.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
12 compatible = "ct,ctcc-nrf52840";
17 zephyr,code-partition = &slot0_partition;
22 compatible = "gpio-leds";
27 led2: led_2 { label
35 led1 = &led2;
36 mcuboot-led0 = &led1;
44 compatible = "fixed-partitions";
45 #address-cells = <1>;
[all …]
/Zephyr-latest/boards/atmarktechno/degu_evk/
Ddegu_evk.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "degu_evk-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 compatible = "nordic,pca10056-dk";
19 zephyr,code-partition = &slot0_partition;
24 compatible = "gpio-leds";
31 label = "LED2";
33 led2: led_2 { label
44 compatible = "gpio-keys";
[all …]
/Zephyr-latest/boards/seeed/xiao_ble/
Dxiao_ble_common.dtsi5 * SPDX-License-Identifier: Apache-2.0
10 #include "xiao_ble-pinctrl.dtsi"
19 compatible = "gpio-leds";
28 led2: led_2 { label
35 compatible = "pwm-leds";
45 led2 = &led2;
46 pwm-led0 = &pwm_led0;
47 bootloader-led0 = &led0;
48 mcuboot-led0 = &led0;
58 regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
[all …]
/Zephyr-latest/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 = <1000000>;
27 regulator-max-microvolt = <3300000>;
[all …]
/Zephyr-latest/boards/electronut/nrf52840_blip/
Dnrf52840_blip.dts7 * SPDX-License-Identifier: Apache-2.0
10 /dts-v1/;
13 #include "nrf52840_blip-pinctrl.dtsi"
14 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 compatible = "nordic,pca10056-dk";
22 zephyr,shell-uart = &uart0;
23 zephyr,uart-mcumgr = &uart0;
24 zephyr,bt-mon-uart = &uart0;
25 zephyr,bt-c2h-uart = &uart0;
30 compatible = "gpio-leds";
[all …]
/Zephyr-latest/boards/raytac/mdbt53_db_40/
Draytac_mdbt53_db_40_nrf5340_cpuapp_common.dts4 * SPDX-License-Identifier: Apache-2.0
6 #include "raytac_mdbt53_db_40_nrf5340_cpuapp_common-pinctrl.dtsi"
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 zephyr,shell-uart = &uart0;
14 zephyr,uart-mcumgr = &uart0;
15 zephyr,bt-mon-uart = &uart0;
16 zephyr,bt-c2h-uart = &uart0;
17 zephyr,bt-hci = &bt_hci_ipc0;
18 nordic,802154-spinel-ipc = &ipc0;
23 compatible = "gpio-leds";
[all …]
/Zephyr-latest/boards/makerdiary/nrf52832_mdk/
Dnrf52832_mdk.dts5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
10 #include "nrf52832_mdk-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 model = "nRF52832-MDK Micro Dev Kit";
15 compatible = "nrf52832-mdk";
19 zephyr,shell-uart = &uart0;
20 zephyr,uart-mcumgr = &uart0;
21 zephyr,bt-mon-uart = &uart0;
22 zephyr,bt-c2h-uart = &uart0;
[all …]
/Zephyr-latest/boards/ambiq/apollo4p_blue_kxr_evb/
Dapollo4p_blue_kxr_evb.dts1 /dts-v1/;
3 #include <zephyr/dt-bindings/input/input-event-codes.h>
5 #include "apollo4p_blue_kxr_evb-pinctrl.dtsi"
16 zephyr,shell-uart = &uart0;
17 zephyr,uart-pipe = &uart0;
18 zephyr,flash-controller = &flash;
19 zephyr,bt-hci = &bt_hci_apollo;
26 led2 = &led2;
33 compatible = "gpio-leds";
42 led2: led_2 { label
[all …]
/Zephyr-latest/boards/nordic/nrf52dk/
Dnrf52dk_nrf52805.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "nrf52dk_nrf52805-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 compatible = "nordic,nrf52-dk-nrf52805";
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;
[all …]
Dnrf52dk_nrf52810.dts6 * SPDX-License-Identifier: Apache-2.0
9 /dts-v1/;
11 #include "nrf52dk_nrf52810-pinctrl.dtsi"
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
16 compatible = "nordic,nrf52-dk-nrf52810";
20 zephyr,shell-uart = &uart0;
21 zephyr,uart-mcumgr = &uart0;
22 zephyr,bt-mon-uart = &uart0;
23 zephyr,bt-c2h-uart = &uart0;
26 zephyr,code-partition = &slot0_partition;
[all …]
/Zephyr-latest/boards/qorvo/decawave_dwm3001cdk/
Ddecawave_dwm3001cdk.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "decawave_dwm3001cdk-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-latest/boards/ambiq/apollo4p_evb/
Dapollo4p_evb.dts1 /dts-v1/;
3 #include <zephyr/dt-bindings/input/input-event-codes.h>
5 #include "apollo4p_evb-pinctrl.dtsi"
16 zephyr,shell-uart = &uart0;
17 zephyr,uart-pipe = &uart0;
18 zephyr,flash-controller = &flash;
25 led2 = &led2;
32 compatible = "gpio-leds";
41 led2: led_2 { label
48 compatible = "gpio-keys";
[all …]
/Zephyr-latest/boards/adi/max32672evkit/
Dmax32672evkit.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <adi/max32/max32672-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
21 zephyr,shell-uart = &uart0;
28 compatible = "gpio-leds";
33 led2: led_2 { label
40 compatible = "gpio-keys";
[all …]
/Zephyr-latest/boards/makerdiary/nrf52840_mdk_usb_dongle/
Dnrf52840_mdk_usb_dongle.dts6 * SPDX-License-Identifier: Apache-2.0
9 /dts-v1/;
11 #include "nrf52840_mdk_usb_dongle-pinctrl.dtsi"
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
21 zephyr,code-partition = &slot0_partition;
26 compatible = "gpio-leds";
42 compatible = "pwm-leds";
55 compatible = "gpio-keys";
67 led2 = &led0_blue;
68 led0-red = &led0_red;
[all …]
/Zephyr-latest/boards/nordic/nrf52840dk/
Dnrf52840dk_nrf52811.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "nrf52840dk_nrf52811-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 compatible = "nordic,nrf52840-dk-nrf52811";
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;
[all …]
/Zephyr-latest/boards/adi/max32680evkit/
Dmax32680evkit_max32680_m4.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <adi/max32/max32680-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
21 zephyr,shell-uart = &uart1;
28 compatible = "gpio-leds";
33 led2: led_2 { label
40 compatible = "gpio-keys";
[all …]
/Zephyr-latest/boards/ezurio/bl654_dvk/
Dbl654_dvk.dts6 * SPDX-License-Identifier: Apache-2.0
9 /dts-v1/;
12 #include "bl654_dvk-pinctrl.dtsi"
13 #include <zephyr/dt-bindings/input/input-event-codes.h>
21 zephyr,shell-uart = &uart0;
22 zephyr,uart-mcumgr = &uart0;
23 zephyr,bt-mon-uart = &uart0;
24 zephyr,bt-c2h-uart = &uart0;
29 compatible = "gpio-leds";
34 led2: led_2 { label
[all …]
/Zephyr-latest/boards/nordic/nrf52833dk/
Dnrf52833dk_nrf52820.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "nrf52833dk_nrf52820-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 compatible = "nordic,nrf52833-dk-nrf52820";
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;
[all …]

12345