Home
last modified time | relevance | path

Searched full:wakeup (Results 1 – 25 of 202) sorted by relevance

123456789

/Zephyr-Core-3.5.0/samples/boards/stm32/power_mgmt/serial_wakeup/src/
Dmain.c25 /* In PM_DEVICE modes, enable device as a wakeup source will prevent in main()
34 printk("Device is not wakeup capable\n"); in main()
36 printk("Device is wakeup capable\n"); in main()
40 printk("Could not enable wakeup source\n"); in main()
42 printk("Wakeup source enable ok\n"); in main()
47 printk("Wakeup source not enabled\n"); in main()
49 printk("Wakeup source enabled\n"); in main()
/Zephyr-Core-3.5.0/samples/boards/stm32/power_mgmt/serial_wakeup/
Dsample.yaml2 name: STM32 Power Management Serial Wakeup
14 - "Device is wakeup capable"
15 - "Wakeup source enable ok"
16 - "Wakeup source enabled"
DREADME.rst1 .. _stm32-pm-serial-wakeup-sample:
3 STM32 PM Serial wakeup
9 This sample is a minimum application to demonstrate serial wakeup functionality
12 .. _stm32-pm-serial-wakeup-sample-requirements:
22 be a functional wakeup source:
29 - Port should be set as "wakeup-source"
/Zephyr-Core-3.5.0/drivers/interrupt_controller/
Dwuc_ite_it8xxx2.c22 /* WUC wakeup edge mode register */
24 /* WUC wakeup edge sense register */
26 /* WUC wakeup enable register */
28 /* WUC wakeup both edge mode register */
45 /* Enable wakeup interrupt of the pin */ in it8xxx2_wuc_enable()
62 /* Disable wakeup interrupt of the pin */ in it8xxx2_wuc_disable()
75 /* W/C wakeup interrupt status of the pin */ in it8xxx2_wuc_clear_status()
89 /* Set wakeup interrupt edge trigger mode of the pin */ in it8xxx2_wuc_set_polarity()
DKconfig.it8xxx228 bool "ITE it8xxx2 Wakeup controller (WUC) interface"
32 This option enables the wakeup controller interface for IT8XXX2
/Zephyr-Core-3.5.0/dts/bindings/kscan/
Dite,it8xxx2-kscan.yaml20 Configure wakeup controller, this controller is used to set that
21 when the interrupt is triggered in EC low power mode, it can wakeup
22 EC or not. Via this controller, we set the wakeup trigger edge,
23 enable, disable, and clear wakeup status for the specific pin which
/Zephyr-Core-3.5.0/dts/bindings/interrupt-controller/
Dite,it8xxx2-wuc.yaml13 "wakeup-controller":
16 description: conveys that this node is a wakeup controller
21 description: number of items to expect in a wakeup controller specifier
/Zephyr-Core-3.5.0/dts/riscv/ite/
Dit81xx2.dtsi430 wuc1: wakeup-controller@f01b00 {
436 wakeup-controller;
440 wuc2: wakeup-controller@f01b01 {
446 wakeup-controller;
450 wuc3: wakeup-controller@f01b02 {
456 wakeup-controller;
460 wuc4: wakeup-controller@f01b03 {
466 wakeup-controller;
470 wuc5: wakeup-controller@f01b0c {
476 wakeup-controller;
[all …]
Dit82xx2.dtsi719 wuc1: wakeup-controller@f01b00 {
725 wakeup-controller;
729 wuc2: wakeup-controller@f01b04 {
735 wakeup-controller;
739 wuc3: wakeup-controller@f01b08 {
745 wakeup-controller;
749 wuc4: wakeup-controller@f01b0c {
755 wakeup-controller;
759 wuc5: wakeup-controller@f01b10 {
765 wakeup-controller;
[all …]
/Zephyr-Core-3.5.0/soc/arm/arm/beetle/
Dpower.c99 * @brief Setup initial wakeup sources on SoC.
101 * Setup the SoC wakeup sources.
106 /* Configure Wakeup Sources */ in wakeup_src_init()
111 * @brief Setup various clocks and wakeup sources in the SoC.
113 * Configures the clocks and wakeup sources in the SoC.
126 /* Setup initial wakeup sources */ in soc_power_init()
Dsoc_power.h15 * @brief Setup various clocks and wakeup sources in the SoC.
17 * Configures the clocks and wakeup sources in the SoC.
/Zephyr-Core-3.5.0/samples/boards/esp32/deep_sleep/
DKconfig7 bool "Enable wakeup from GPIO"
16 bool "Enable wakeup from GPIO"
20 to wake up. Be aware that when low level is used to trigger wakeup,
/Zephyr-Core-3.5.0/tests/subsys/pm/device_wakeup_api/src/
Dmain.c34 /* Enable wakeup source. Next time the system is called in pm_state_set()
87 zassert_true(ret, "Could not enable wakeup source"); in ZTEST()
90 zassert_true(ret, "Wakeup source not enabled"); in ZTEST()
93 zassert_true(ret, "Could not disable wakeup source"); in ZTEST()
96 zassert_false(ret, "Wakeup source is enabled"); in ZTEST()
104 * suspend all devices. As gpio is wakeup capability is not in ZTEST()
/Zephyr-Core-3.5.0/samples/boards/esp32/deep_sleep/src/
Dmain.c20 #error "Unsupported: wakeup-button alias is not defined"
71 printk("Enabling timer wakeup, %ds\n", wakeup_time_sec); in main()
80 printk("Enabling EXT1 wakeup on pins GPIO%d, GPIO%d\n", in main()
87 printk("Error: wakeup button device %s is not ready\n", wakeup_button.port->name); in main()
100 printk("Enabling GPIO wakeup on pins GPIO%d\n", wakeup_button.pin); in main()
/Zephyr-Core-3.5.0/samples/boards/stm32/power_mgmt/serial_wakeup/boards/
Dstm32l562e_dk.overlay28 wakeup-source;
37 /* Uncomment out this line to use usart1 as wakeup source */
38 /* wakeup-source; */
Dnucleo_wl55jc.overlay18 wakeup-source;
19 wakeup-line = <28>;
/Zephyr-Core-3.5.0/drivers/gpio/
Dgpio_smartbond.c80 /* Wakeup controller is shared for both GPIO ports and should in gpio_smartbond_wkup_init()
84 WAKEUP->WKUP_CTRL_REG = 0; in gpio_smartbond_wkup_init()
85 WAKEUP->WKUP_CLEAR_P0_REG = 0xffffffff; in gpio_smartbond_wkup_init()
86 WAKEUP->WKUP_CLEAR_P1_REG = 0xffffffff; in gpio_smartbond_wkup_init()
87 WAKEUP->WKUP_SELECT_P0_REG = 0; in gpio_smartbond_wkup_init()
88 WAKEUP->WKUP_SELECT_P1_REG = 0; in gpio_smartbond_wkup_init()
89 WAKEUP->WKUP_SEL_GPIO_P0_REG = 0; in gpio_smartbond_wkup_init()
90 WAKEUP->WKUP_SEL_GPIO_P1_REG = 0; in gpio_smartbond_wkup_init()
91 WAKEUP->WKUP_RESET_IRQ_REG = 0; in gpio_smartbond_wkup_init()
95 WAKEUP->WKUP_CTRL_REG = WAKEUP_WKUP_CTRL_REG_WKUP_ENABLE_IRQ_Msk; in gpio_smartbond_wkup_init()
[all …]
/Zephyr-Core-3.5.0/samples/drivers/ps2/boards/
Dmec15xxevb_assy6853.overlay9 wakeup-source;
14 wakeup-source;
Dmec1501modular_assy6885.overlay9 wakeup-source;
14 wakeup-source;
/Zephyr-Core-3.5.0/tests/kernel/sleep/
DREADME.txt1 Title: cooperative thread Sleep and Wakeup APIs
5 This test verifies that cooperative sleep and wakeup APIs operate as
41 Testing: test thread sleep + helper thread wakeup test
42 Testing: test thread sleep + isr offload wakeup test
43 Testing: test thread sleep + main wakeup test thread
/Zephyr-Core-3.5.0/dts/bindings/serial/
Dst,stm32-uart-base.yaml53 wakeup-line:
56 EXTI line number matching the device wakeup interrupt mask register.
57 This property is required on stm32 devices where the wakeup interrupt signal could be
58 configured masked at boot (sm32wl55 for instance), preventing the device to wakeup
/Zephyr-Core-3.5.0/samples/boards/esp32/light_sleep/
DREADME.rst15 The example enables the following wakeup sources:
44 about 500 ms, after the second wakeup from light sleep. The program has
45 indicated the wakeup reason after each sleep iteration.
/Zephyr-Core-3.5.0/tests/kernel/sleep/src/
Dmain.c54 * @brief Test sleep and wakeup APIs
60 * This module tests the following sleep and wakeup scenarios:
92 * tick of "too long" slop for aliasing between wakeup and
124 TC_PRINT("Testing: test thread sleep + helper thread wakeup test\n"); in test_thread()
138 TC_PRINT("Testing: test thread sleep + isr offload wakeup test\n"); in test_thread()
152 TC_PRINT("Testing: test thread sleep + main wakeup test thread\n"); in test_thread()
/Zephyr-Core-3.5.0/samples/boards/stm32/power_mgmt/standby_shutdown/src/
Dmain.c50 /* Enable pin pull up configurations and wakeup pins */ in config_wakeup_features()
53 /* Clear wakeup flags */ in config_wakeup_features()
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()
/Zephyr-Core-3.5.0/drivers/sensor/lis2dw12/
DKconfig66 bool "Wakeup threshold trigger (via interrupt)"
68 Enable the wakeup threshold trigger feature.

123456789