Home
last modified time | relevance | path

Searched +full:wakeup +full:- +full:line (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-Core-3.5.0/samples/boards/stm32/power_mgmt/serial_wakeup/boards/
Dstm32l562e_dk.overlay5 zephyr,shell-uart = &lpuart1;
14 /* Comment out this line to use HSI as clk source */
19 pinctrl-0 = <&lpuart1_rx_pb10 &lpuart1_tx_pb11>;
20 pinctrl-1 = <&analog_pb10 &analog_pb11>;
21 pinctrl-names = "default", "sleep";
26 current-speed = <9600>;
28 wakeup-source;
34 pinctrl-1 = <&analog_pa9 &analog_pa10>;
35 pinctrl-names = "default", "sleep";
37 /* Uncomment out this line to use usart1 as wakeup source */
[all …]
Dnucleo_wl55jc.overlay4 * SPDX-License-Identifier: Apache-2.0
13 /delete-property/ clocks;
17 current-speed = <9600>;
18 wakeup-source;
19 wakeup-line = <28>;
/Zephyr-Core-3.5.0/dts/bindings/serial/
Dst,stm32-uart-base.yaml2 # SPDX-License-Identifier: Apache-2.0
5 description: STM32 UART-BASE
7 include: [uart-controller.yaml, pinctrl-device.yaml, reset-device.yaml]
22 single-wire:
25 Enable the single wire half-duplex communication.
30 tx-rx-swap:
35 tx-invert:
41 rx-invert:
47 pinctrl-0:
50 pinctrl-names:
[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()
50 /* Enable pin pull up configurations and wakeup pins */ in config_wakeup_features()
53 /* Clear wakeup flags */ in config_wakeup_features()
72 printk("Release the user button to wake-up\n\n"); in thread_poweroff_standby_mode()
77 /* powered off until wakeup line activated */ in thread_poweroff_standby_mode()
85 /* stay in Standby mode until wakeup line activated */ in thread_poweroff_standby_mode()
117 button.port->name); in main()
[all …]
/Zephyr-Core-3.5.0/samples/boards/esp32/light_sleep/
DREADME.rst1 .. _esp32-light-sleep-sample:
15 The example enables the following wakeup sources:
26 button, an external button can be connected, along with a 10k pull-up resistor,
32 .. zephyr-app-commands::
33 :zephyr-app: samples/boards/esp32/light_sleep
41 -----------------
44 about 500 ms, after the second wakeup from light sleep. The program has
45 indicated the wakeup reason after each sleep iteration.
47 .. code-block:: console
49 *** Booting Zephyr OS build zephyr-v3.1.0-3667-gb42e2b225ecf ***
[all …]
/Zephyr-Core-3.5.0/samples/boards/esp32/light_sleep/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
33 printk("Error: button device %s is not ready\n", button.port->name); in main()
56 /* To make sure the complete line is printed before entering sleep mode, in main()
65 * pre-defined power state. Light sleep is used here because there is enough in main()
66 * time to consider it, energy-wise, worthy. in main()
70 /* Execution continues here after wakeup */ in main()
91 wakeup_reason, t_after_ms, (t_after_ms - t_before_ms)); in main()
/Zephyr-Core-3.5.0/dts/riscv/andes/
Dandes_v5_ae350.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
8 #include <zephyr/dt-bindings/gpio/gpio.h>
12 #address-cells = <1>;
13 #size-cells = <1>;
16 #address-cells = <1>;
17 #size-cells = <0>;
18 timebase-frequency = <60000000>;
25 mmu-type = "riscv,sv32";
26 clock-frequency = <60000000>;
[all …]
/Zephyr-Core-3.5.0/dts/bindings/sensor/
Dst,lis2dw12-common.yaml2 # SPDX-License-Identifier: Apache-2.0
4 include: sensor-device.yaml
7 irq-gpios:
8 type: phandle-array
16 int-pin:
20 - 1
21 - 2
29 (INT1 or INT2) the drdy line is attached to. This property is not
31 configuration at power-up.
37 Range in g. Default is power-up configuration.
[all …]
/Zephyr-Core-3.5.0/samples/boards/mimxrt595_evk_cm33/system_off/
DREADME.rst1 .. _mimxrt595_evk-system-off-sample:
12 * Busy-wait for 2 seconds
13 * Turn the system off after enabling wakeup through RTC and set alarm
19 This application uses MIMXRT595-EVK for the demo.
24 .. zephyr-app-commands::
25 :zephyr-app: samples/boards/mimxrt595_evk_cm33/system_off
40 MIMXRT595-EVK core output
41 --------------------------
43 .. code-block:: console
45 *** Booting Zephyr OS build zephyr-v3.2.0-1045-g07228f716c78 ***
[all …]
/Zephyr-Core-3.5.0/drivers/serial/
Duart_mchp_xec.c2 * Copyright (c) 2010, 2012-2015 Wind River Systems, Inc.
6 * SPDX-License-Identifier: Apache-2.0
59 #define REG_LCR 0x03 /* Line control reg. */
61 #define REG_LSR 0x05 /* Line status reg. */
71 #define IER_LSR 0x04 /* line status interrupts */
80 #define IIR_LS 0x06 /* receiver line status interrupt */
97 * RXRDY pin will go inactive when there are no more charac-
102 * reached, the RXRDY pin will go low active. Once it is acti-
107 * FIFO Mode (FCR0 = 1, FCR3 = 0) and there are no charac-
127 /* constants for line control register */
[all …]
Duart_stm32.c2 * Copyright (c) 2016 Open-RnD Sp. z o.o.
5 * SPDX-License-Identifier: Apache-2.0
94 struct uart_stm32_data *data = dev->data; in uart_stm32_pm_policy_state_lock_get()
96 if (!data->pm_policy_state_on) { in uart_stm32_pm_policy_state_lock_get()
97 data->pm_policy_state_on = true; in uart_stm32_pm_policy_state_lock_get()
104 struct uart_stm32_data *data = dev->data; in uart_stm32_pm_policy_state_lock_put()
106 if (data->pm_policy_state_on) { in uart_stm32_pm_policy_state_lock_put()
107 data->pm_policy_state_on = false; in uart_stm32_pm_policy_state_lock_put()
115 const struct uart_stm32_config *config = dev->config; in uart_stm32_set_baudrate()
116 struct uart_stm32_data *data = dev->data; in uart_stm32_set_baudrate()
[all …]
/Zephyr-Core-3.5.0/dts/arm/st/wba/
Dstm32wba.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <arm/armv8-m.dtsi>
9 #include <zephyr/dt-bindings/clock/stm32wba_clock.h>
10 #include <zephyr/dt-bindings/reset/stm32wba_reset.h>
11 #include <zephyr/dt-bindings/adc/stm32u5_adc.h>
12 #include <zephyr/dt-bindings/gpio/gpio.h>
13 #include <zephyr/dt-bindings/i2c/i2c.h>
14 #include <zephyr/dt-bindings/pwm/pwm.h>
15 #include <zephyr/dt-bindings/adc/adc.h>
22 zephyr,flash-controller = &flash;
[all …]
/Zephyr-Core-3.5.0/dts/arm/st/l4/
Dstm32l4.dtsi5 * SPDX-License-Identifier: Apache-2.0
9 #include <arm/armv7-m.dtsi>
10 #include <zephyr/dt-bindings/clock/stm32l4_clock.h>
11 #include <zephyr/dt-bindings/i2c/i2c.h>
12 #include <zephyr/dt-bindings/gpio/gpio.h>
13 #include <zephyr/dt-bindings/pwm/pwm.h>
14 #include <zephyr/dt-bindings/adc/adc.h>
15 #include <zephyr/dt-bindings/pwm/stm32_pwm.h>
16 #include <zephyr/dt-bindings/dma/stm32_dma.h>
17 #include <zephyr/dt-bindings/adc/stm32l4_adc.h>
[all …]
/Zephyr-Core-3.5.0/dts/arm/st/l0/
Dstm32l0.dtsi5 * SPDX-License-Identifier: Apache-2.0
8 #include <arm/armv6-m.dtsi>
9 #include <zephyr/dt-bindings/clock/stm32l0_clock.h>
10 #include <zephyr/dt-bindings/i2c/i2c.h>
11 #include <zephyr/dt-bindings/gpio/gpio.h>
12 #include <zephyr/dt-bindings/pwm/pwm.h>
13 #include <zephyr/dt-bindings/adc/adc.h>
14 #include <zephyr/dt-bindings/pwm/stm32_pwm.h>
15 #include <zephyr/dt-bindings/dma/stm32_dma.h>
16 #include <zephyr/dt-bindings/adc/stm32l4_adc.h>
[all …]
/Zephyr-Core-3.5.0/dts/arm/st/g0/
Dstm32g0.dtsi6 * Copyright (c) 2021 G-Technologies Sdn. Bhd.
8 * SPDX-License-Identifier: Apache-2.0
11 #include <arm/armv6-m.dtsi>
12 #include <zephyr/dt-bindings/clock/stm32g0_clock.h>
13 #include <zephyr/dt-bindings/gpio/gpio.h>
14 #include <zephyr/dt-bindings/i2c/i2c.h>
15 #include <zephyr/dt-bindings/pwm/pwm.h>
16 #include <zephyr/dt-bindings/dma/stm32_dma.h>
17 #include <zephyr/dt-bindings/adc/adc.h>
18 #include <zephyr/dt-bindings/adc/stm32l4_adc.h>
[all …]
/Zephyr-Core-3.5.0/drivers/timer/
Dstm32_lptim_timer.c5 * SPDX-License-Identifier: Apache-2.0
52 * - system clock based on an LPTIM instance, clocked by LSI or LSE
53 * - prescaler is set to a 2^value from 1 (division of the LPTIM source clock by 1)
55 * - using LPTIM AutoReload capability to trig the IRQ (timeout irq)
56 * - when timeout irq occurs the counter is already reset
57 * - the maximum timeout duration is reached with the lptim_time_base value
58 * - with prescaler of 1, the max timeout (LPTIM_TIMEBASE) is 2 seconds:
60 * - with prescaler of 128, the max timeout (LPTIM_TIMEBASE) is 256 seconds:
206 ticks = CLAMP(ticks - 1, 1, lptim_time_base); in sys_clock_set_timeout()
217 || ((autoreload - lp_time) < LPTIM_GUARD_VALUE)) { in sys_clock_set_timeout()
[all …]
/Zephyr-Core-3.5.0/drivers/modem/
Dhl7800.c4 * SPDX-License-Identifier: Apache-2.0
216 #define SIZE_WITHOUT_NUL(v) (sizeof(v) - SIZE_OF_NUL)
220 .cmd = cmd_, .cmd_len = (uint16_t)sizeof(cmd_) - 1, \
249 #define RSSI_UNKNOWN -999
293 /* The ? can be a + or - */
300 #define TIME_STRING_TO_TM_STRUCT_YEAR_OFFSET (2000 - 1900)
372 static const char EOF_PATTERN[] = "--EOF--Pattern--";
594 sock->allocated = true; in alloc_stale_socket()
605 sock->allocated = false; in free_stale_socket()
616 sock->type = type; in queue_stale_socket()
[all …]
/Zephyr-Core-3.5.0/boards/arm/lpcxpresso55s16/doc/
Dindex.rst10 of the LPC55S1x/LPC551x MCU family, based on the Arm® Cortex®-M33
23 - LPC55S16 Arm® Cortex®-M33 microcontroller running at up to 150 MHz
24 - 256 KB flash and 96 KB SRAM on-chip
25 - LPC-Link2 debug high speed USB probe with VCOM port
26 - I2C and SPI USB bridging to the LPC device via LPC-Link2 probe
27 - MikroElektronika Click expansion option
28 - LPCXpresso expansion connectors compatible with Arduino UNO
29 - PMod compatible expansion / host connector
30 - Reset, ISP, wake, and user buttons for easy testing of software functionality
31 - Tri-color LED
[all …]
/Zephyr-Core-3.5.0/dts/arm/st/wb/
Dstm32wb.dtsi5 * SPDX-License-Identifier: Apache-2.0
8 #include <arm/armv7-m.dtsi>
9 #include <zephyr/dt-bindings/clock/stm32wb_clock.h>
10 #include <zephyr/dt-bindings/gpio/gpio.h>
11 #include <zephyr/dt-bindings/i2c/i2c.h>
12 #include <zephyr/dt-bindings/pwm/pwm.h>
13 #include <zephyr/dt-bindings/adc/adc.h>
14 #include <zephyr/dt-bindings/pwm/stm32_pwm.h>
15 #include <zephyr/dt-bindings/dma/stm32_dma.h>
16 #include <zephyr/dt-bindings/adc/stm32l4_adc.h>
[all …]
/Zephyr-Core-3.5.0/dts/arm/st/wl/
Dstm32wl.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <arm/armv7-m.dtsi>
8 #include <zephyr/dt-bindings/clock/stm32wl_clock.h>
9 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <zephyr/dt-bindings/i2c/i2c.h>
11 #include <zephyr/dt-bindings/lora/sx126x.h>
12 #include <zephyr/dt-bindings/pwm/pwm.h>
13 #include <zephyr/dt-bindings/adc/adc.h>
14 #include <zephyr/dt-bindings/pwm/stm32_pwm.h>
15 #include <zephyr/dt-bindings/dma/stm32_dma.h>
[all …]
/Zephyr-Core-3.5.0/boards/arm/lpcxpresso55s36/doc/
Dindex.rst10 of the LPC55S3x/LPC553x MCU family, based on the Arm® Cortex®-M33
23 - LPC55S36 Arm® Cortex®-M33 microcontroller running at up to 150 MHz
24 - 256 KB flash and 96 KB SRAM on-chip
25 - LPC-Link2 debug high speed USB probe with VCOM port
26 - I2C and SPI USB bridging to the LPC device via LPC-Link2 probe
27 - MikroElektronika Click expansion option
28 - LPCXpresso expansion connectors compatible with Arduino UNO
29 - PMod compatible expansion / host connector
30 - Reset, ISP, wake, and user buttons for easy testing of software functionality
31 - Tri-color LED
[all …]
/Zephyr-Core-3.5.0/dts/arm/st/g4/
Dstm32g4.dtsi5 * SPDX-License-Identifier: Apache-2.0
9 #include <arm/armv7-m.dtsi>
10 #include <zephyr/dt-bindings/clock/stm32g4_clock.h>
11 #include <zephyr/dt-bindings/i2c/i2c.h>
12 #include <zephyr/dt-bindings/gpio/gpio.h>
13 #include <zephyr/dt-bindings/pwm/pwm.h>
14 #include <zephyr/dt-bindings/adc/adc.h>
15 #include <zephyr/dt-bindings/pwm/stm32_pwm.h>
16 #include <zephyr/dt-bindings/dma/stm32_dma.h>
17 #include <zephyr/dt-bindings/adc/stm32l4_adc.h>
[all …]
/Zephyr-Core-3.5.0/dts/arm/st/l5/
Dstm32l5.dtsi5 * SPDX-License-Identifier: Apache-2.0
9 #include <arm/armv8-m.dtsi>
10 #include <zephyr/dt-bindings/clock/stm32l4_clock.h>
11 #include <zephyr/dt-bindings/gpio/gpio.h>
12 #include <zephyr/dt-bindings/i2c/i2c.h>
13 #include <zephyr/dt-bindings/pwm/pwm.h>
14 #include <zephyr/dt-bindings/pwm/stm32_pwm.h>
15 #include <zephyr/dt-bindings/dma/stm32_dma.h>
16 #include <zephyr/dt-bindings/adc/stm32l4_adc.h>
17 #include <zephyr/dt-bindings/reset/stm32g4_l4_5_reset.h>
[all …]
/Zephyr-Core-3.5.0/drivers/usb/device/
Dusb_dc_smartbond.c4 * SPDX-License-Identifier: Apache-2.0
82 * using frame interrupt. On remove wakeup RESUME state must be kept for
101 (struct smartbond_ep_reg_set *)&USB->USB_EPC0_REG,
102 (struct smartbond_ep_reg_set *)&USB->USB_EPC1_REG,
103 (struct smartbond_ep_reg_set *)&USB->USB_EPC3_REG,
104 (struct smartbond_ep_reg_set *)&USB->USB_EPC5_REG,
190 #define REG_GET_BIT(reg, field) (USB->reg & USB_ ## reg ## _ ## field ## _Msk)
191 #define REG_SET_BIT(reg, field) USB->reg |= USB_ ## reg ## _ ## field ## _Msk
192 #define REG_CLR_BIT(reg, field) USB->reg &= ~USB_ ## reg ## _ ## field ## _Msk
194 USB->reg = (USB->reg & ~USB_##reg##_##field##_Msk) | \
[all …]
/Zephyr-Core-3.5.0/doc/releases/
Drelease-notes-3.2.rst13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`).
15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`.
31 * CVE-2022-2993: Under embargo until 2022-11-03
33 * CVE-2022-2741: Under embargo until 2022-10-14
56 This definition can be used by third-party code to compile code conditional
58 Therefore, any third-party code integrated using the Zephyr build system will
91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates
129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig
156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and
157 :dtcompatible:`fixed-partitions`.
[all …]

12