Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.5.0/samples/boards/stm32/power_mgmt/standby_shutdown/
DREADME.rst1 .. _stm32-pm-standby_shutdown-sample:
9 This sample is a minimum application to demonstrate basic power management of Standby mode and
10 shutdown mode
11 behavior in a basic blinking LED set up you can enter in shutdown mode or in standbymode mode.
13 when LED2 is OFF to enter to Shutdown Mode
14 when LED2 is ON to enter to Standby Mode
15 release the user button to exit from shutdown mode or from shutdown mode.
17 .. _stm32-pm-standby_shutdown-sample-requirements:
24 in core sleep states, as LPTIM (:dtcompatible:`st,stm32-lptim`).
32 .. zephyr-app-commands::
[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-Core-3.5.0/drivers/sensor/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-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/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";
30 label = "User LED2";
45 led2 = &green_led_2;
52 current-speed = <115200>;
53 modem-mode = <0>;
[all …]
/Zephyr-Core-3.5.0/samples/boards/stm32/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-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/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 …]
/Zephyr-Core-3.5.0/boards/arm/nrf9160_innblue22/
Dnrf9160_innblue22_common.dtsi4 * SPDX-License-Identifier: Apache-2.0
6 #include "nrf9160_innblue22_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_5v0_boost: enable-5v0-boost {
51 compatible = "regulator-fixed";
[all …]
/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/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/samples/subsys/modbus/rtu_server/src/
Dmain.c5 * SPDX-License-Identifier: Apache-2.0
23 GPIO_DT_SPEC_GET(DT_ALIAS(led2), gpios),
29 return -ENOTSUP; in coil_rd()
48 return -ENOTSUP; in coil_wr()
70 return -ENOTSUP; in holding_reg_rd()
83 return -ENOTSUP; in holding_reg_wr()
101 .mode = MODBUS_MODE_RTU,
159 LOG_INF("Client connected to server on %s", dev->name); in main()
/Zephyr-Core-3.5.0/boards/arm/thingy53_nrf5340/
Dthingy53_nrf5340_cpunet.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "thingy53_nrf5340_cpunet-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 compatible = "nordic,thingy53-nrf5340-cpunet";
18 zephyr,shell-uart = &uart0;
19 zephyr,uart-mcumgr = &uart0;
20 zephyr,bt-mon-uart = &uart0;
21 zephyr,bt-c2h-uart = &uart0;
22 zephyr,bt-hci-rpmsg-ipc = &ipc0;
[all …]
/Zephyr-Core-3.5.0/boards/arm/cy8ckit_062_wifi_bt/doc/
Dindex.rst3 INFINEON PSoC6 WiFi-BT Pioneer Kit
9 The PSoC 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WiFi-BT) is a low-cost hardware
13 The PSoC 6 WiFi-BT Pioneer Kit features the PSoC 62 MCU: a
14 dual-core MCU, with a 150-MHz Arm Cortex-M4 as the primary application
15 processor and a 100-MHz Arm Cortex-M0+ that supports low-power operations,
17 56 programmable digital blocks, Full-Speed USB, a serial memory interface,
18 a PDM-PCM digital microphone interface, and industry-leading capacitive-sensing
21 The PSoC 6 WiFi-BT Pioneer board offers compatibility with Arduino shields.
23 The Cortex-M0+ is a primary core on the board's SoC. It starts first and
32 3. KitProg2 USB Type-C connector (J10)
[all …]
/Zephyr-Core-3.5.0/boards/arm/twr_ke18f/
Dtwr_ke18f.dts2 * Copyright (c) 2019-2021 Vestas Wind Systems A/S
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <zephyr/dt-bindings/clock/kinetis_scg.h>
11 #include <zephyr/dt-bindings/pwm/pwm.h>
12 #include "twr_ke18f-pinctrl.dtsi"
13 #include <zephyr/dt-bindings/input/input-event-codes.h>
22 led2 = &green_led;
27 pwm-led0 = &orange_pwm_led;
28 pwm-led1 = &yellow_pwm_led;
[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/nrf5340_audio_dk_nrf5340/
Dnrf5340_audio_dk_nrf5340_cpuapp_common.dtsi2 * Copyright (c) 2020-2022 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
6 #include "nrf5340_audio_dk_nrf5340_cpuapp_common-pinctrl.dtsi"
7 #include <zephyr/dt-bindings/sensor/ina230.h>
12 zephyr,shell-uart = &uart0;
13 zephyr,uart-mcumgr = &uart0;
14 zephyr,bt-mon-uart = &uart0;
15 zephyr,bt-c2h-uart = &uart0;
16 zephyr,bt-hci-rpmsg-ipc = &ipc0;
20 gpio_fwd: nrf-gpio-forwarder {
[all …]
/Zephyr-Core-3.5.0/boards/arm/stm32g071b_disco/
Dstm32g071b_disco.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/g0/stm32g071r(6-8-b)tx-pinctrl.dtsi>
10 #include <zephyr/dt-bindings/sensor/ina230.h>
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 compatible = "st,stm32g071-demo";
19 zephyr,shell-uart = &usart3;
25 compatible = "gpio-leds";
45 compatible = "gpio-keys";
74 compatible = "gpio-leds";
[all …]
/Zephyr-Core-3.5.0/boards/arm/stm32f769i_disco/
Dstm32f769i_disco.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/f7/stm32f769nihx-pinctrl.dtsi>
10 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
16 compatible = "st,stm32f769I-disco";
20 zephyr,shell-uart = &usart1;
24 zephyr,flash-controller = &mx25l51245g;
28 compatible = "zephyr,memory-region", "mmio-sram";
31 zephyr,memory-region = "SDRAM1";
[all …]
/Zephyr-Core-3.5.0/boards/arm/96b_argonkey/doc/
Dindex.rst26 - STM32F412CG in UFQFPN48 package
27 - ARM |reg| 32-bit Cortex |reg|-M4 CPU with FPU
28 - 100 MHz max CPU frequency
29 - 1.8V work voltage
30 - 1024 KB Flash
31 - 256 KB SRAM
32 - On board sensors:
34 - Humidity: STMicro HTS221
35 - Temperature/Pressure: STMicro LPS22HB
36 - ALS: Intersil ISL29034
[all …]
/Zephyr-Core-3.5.0/boards/arm/particle_boron/doc/
Dindex.rst9 The Particle Boron is a cellular-enabled development board with a
18 ARM |reg| Cortex |reg|-M4F SoC with an integrated 2.4 GHz transceiver supporting
23 - `Boron Datasheet`_
24 - `Boron Hardware Files`_
29 On the front of the board are RGB-LED, LED and LIPO circuitry.
30 The RGB-LED is controlled by the nRF52840 via GPIO pins.
52 +-----------+------------+----------------------+
55 | NVIC | on-chip | nested vectored |
57 +-----------+------------+----------------------+
58 | RTC | on-chip | system clock |
[all …]
/Zephyr-Core-3.5.0/boards/arm/particle_argon/doc/
Dindex.rst9 The Particle Argon is a Wi-Fi enabled development board with a Nordic
10 Semiconductor nRF52840 for mesh support and an ESP32 for Wi-Fi. The
18 |reg| Cortex |reg|-M4F SoC with an integrated 2.4 GHz transceiver supporting
23 - `Argon Datasheet`_
24 - `Argon Hardware Files`_
29 On the front of the board are RGB-LED, LED and LIPO circuitry.
30 The RGB-LED is controlled by the nRF52840 via GPIO pins.
52 +-----------+------------+----------------------+
55 | NVIC | on-chip | nested vectored |
57 +-----------+------------+----------------------+
[all …]
/Zephyr-Core-3.5.0/boards/arm/particle_xenon/doc/
Dindex.rst9 The Particle Xenon is a low-cost mesh-enabled development board based on the
17 ARM |reg| Cortex |reg|-M4F SoC with an integrated 2.4 GHz transceiver supporting
22 - `Xenon Datasheet`_
23 - `Xenon Hardware Files`_
28 On the front of the board are RGB-LED, LED and LIPO circuitry.
29 The RGB-LED is controlled by the nRF52840 via GPIO pins.
51 +-----------+------------+----------------------+
54 | NVIC | on-chip | nested vectored |
56 +-----------+------------+----------------------+
57 | RTC | on-chip | system clock |
[all …]
/Zephyr-Core-3.5.0/boards/arm/stm32g081b_eval/doc/
Dindex.rst8 The STM32G081B-EVAL Evaluation board is a high-end development platform, for
9 Arm Cortex-M0+ core-based STM32G081RBT6 microcontroller, with USB Type-C and
10 power delivery controller interfaces (UCPD), compliant with USB type-C r1.2
12 one 12-bit ADC, two 12-bit DACs, two GP comparators, two LP timers, internal
14 hardware features on the STM32G081B-EVAL Evaluation board includes a mother
15 board, a legacy peripheral daughterboard and a USB-C and Power Delivery
16 daughterboard, which help to evaluate all peripherals (USB Type-C connector
22 The board integrates an ST-LINK/V2-1 as an embedded in-circuit debugger and
27 The USB-C and Power Delivery daughterboard
28 features two independent USB-C ports controlled by an STM32G0. USB-C port 1
[all …]
/Zephyr-Core-3.5.0/boards/arm/96b_stm32_sensor_mez/doc/
Dindex.rst26 - STM32F446VE in LQFP100 package
27 - ARM |reg| 32-bit Cortex |reg|-M4 CPU with FPU
28 - 180 MHz max CPU frequency
29 - 1.8V work voltage
30 - 512 KB Flash
31 - 128 KB SRAM
32 - On board sensors:
34 - Temperature/Pressure: STMicro LPS22HB
35 - Accelerometer/Gyroscope: STMicro LSM6DS3H
36 - Magnetometer: STMicro LIS3MDL
[all …]

12