Home
last modified time | relevance | path

Searched refs:sleep (Results 1 – 25 of 500) sorted by relevance

12345678910>>...20

/Zephyr-latest/samples/boards/espressif/light_sleep/
DREADME.rst1 .. zephyr:code-sample:: esp32-light-sleep
4 Use light sleep mode on ESP32 to save power while preserving the state of the memory, CPU, and
10 This example illustrates usage of light sleep mode. Unlike deep sleep mode,
11 light sleep preserves the state of the memory, CPU, and peripherals. Execution
13 When the chip exits light sleep mode, execution continues at the point where it
45 about 500 ms, after the second wakeup from light sleep. The program has
46 indicated the wakeup reason after each sleep iteration.
52 Entering light sleep
53 Returned from light sleep, reason: timer, t=3344 ms, slept for 2001 ms
54 Entering light sleep
[all …]
/Zephyr-latest/samples/net/syslog_net/src/
Dmain.c26 int i, count, sleep; in main() local
57 sleep = 500; in main()
65 sleep = SLEEP_BETWEEN_PRINTS * MSEC_PER_SEC; in main()
69 k_msleep(sleep); in main()
79 k_msleep(sleep); in main()
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/resources/
Dmock_script.py34 time.sleep(args.sleep)
39 time.sleep(args.sleep)
43 time.sleep(1) # give a moment for external programs to collect all outputs
/Zephyr-latest/tests/posix/common/src/
Dsleep.c27 ZTEST(sleep, test_sleep) in ZTEST() argument
37 zassert_ok(sleep(0)); in ZTEST()
41 zassert_equal(0, sleep(1)); in ZTEST()
47 zassert_equal(0, sleep(2)); in ZTEST()
55 zassert_true(sleep(sleep_max_s) >= sleep_rem_s); in ZTEST()
58 ZTEST(sleep, test_usleep) in ZTEST() argument
90 ZTEST_SUITE(sleep, NULL, NULL, NULL, NULL, NULL);
/Zephyr-latest/boards/openisa/rv32m1_vega/support/
Dopenocd_rv32m1_vega_ri5cy.cfg56 sleep 1000
63 sleep 2
73 sleep 1000
80 sleep 2
90 sleep 1000
97 sleep 2
107 sleep 1000
114 sleep 2
125 sleep 1000
132 sleep 2
[all …]
Dopenocd_rv32m1_vega_zero_riscy.cfg56 sleep 1000
63 sleep 2
73 sleep 1000
80 sleep 2
90 sleep 1000
97 sleep 2
107 sleep 1000
114 sleep 2
/Zephyr-latest/tests/kernel/sleep/
DREADME.txt5 This test verifies that cooperative sleep and wakeup APIs operate as
34 Running test suite sleep
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
51 Test suite sleep succeeded
/Zephyr-latest/boards/shields/g1120b0mipi/boards/
Dmimxrt595_evk_mimxrt595s_cm33.overlay7 /* Change deep sleep config for suspend mode to keep SMARTDMA ram powered,
8 * so the SMARTDMA will continue functioning after deep sleep
11 deep-sleep-config = <0xC800>,
/Zephyr-latest/samples/subsys/modbus/rtu_client/src/
Dmain.c42 const int32_t sleep = 250; in main() local
86 k_msleep(sleep); in main()
93 k_msleep(sleep); in main()
100 k_msleep(sleep); in main()
116 k_msleep(sleep); in main()
/Zephyr-latest/boards/pjrc/teensy4/
Dteensy40.dts121 pinctrl-names = "default", "sleep";
127 pinctrl-names = "default", "sleep";
133 pinctrl-names = "default", "sleep";
139 pinctrl-names = "default", "sleep";
145 pinctrl-names = "default", "sleep";
151 pinctrl-names = "default", "sleep";
157 pinctrl-names = "default", "sleep";
163 pinctrl-names = "default", "sleep";
/Zephyr-latest/kernel/
Dnothread.c27 SYS_PORT_TRACING_FUNC_ENTER(k_thread, sleep, timeout); in z_impl_k_sleep()
33 SYS_PORT_TRACING_FUNC_EXIT(k_thread, sleep, timeout, (int32_t) K_TICKS_FOREVER); in z_impl_k_sleep()
57 SYS_PORT_TRACING_FUNC_EXIT(k_thread, sleep, timeout, ret); in z_impl_k_sleep()
/Zephyr-latest/boards/raytac/mdbt50q_db_40/
Draytac_mdbt50q_db_40_nrf52840.dts124 pinctrl-names = "default", "sleep";
133 pinctrl-names = "default", "sleep";
141 pinctrl-names = "default", "sleep";
150 pinctrl-names = "default", "sleep";
157 pinctrl-names = "default", "sleep";
166 pinctrl-names = "default", "sleep";
174 pinctrl-names = "default", "sleep";
182 pinctrl-names = "default", "sleep";
189 pinctrl-names = "default", "sleep";
/Zephyr-latest/boards/electronut/nrf52840_blip/
Dnrf52840_blip.dts94 pinctrl-names = "default", "sleep";
102 pinctrl-names = "default", "sleep";
111 pinctrl-names = "default", "sleep";
120 pinctrl-names = "default", "sleep";
128 pinctrl-names = "default", "sleep";
136 pinctrl-names = "default", "sleep";
143 pinctrl-names = "default", "sleep";
/Zephyr-latest/boards/raytac/mdbt53_db_40/
Draytac_mdbt53_db_40_nrf5340_cpuapp_common.dts137 pinctrl-names = "default", "sleep";
145 pinctrl-names = "default", "sleep";
153 pinctrl-names = "default", "sleep";
160 pinctrl-names = "default", "sleep";
167 pinctrl-names = "default", "sleep";
177 pinctrl-names = "default", "sleep";
187 pinctrl-names = "default", "sleep";
197 pinctrl-names = "default", "sleep";
/Zephyr-latest/boards/rakwireless/rak4631/
Drak4631_nrf52840.dts79 pinctrl-names = "default", "sleep";
88 pinctrl-names = "default", "sleep";
96 pinctrl-names = "default", "sleep";
105 pinctrl-names = "default", "sleep";
115 pinctrl-names = "default", "sleep";
135 pinctrl-names = "default", "sleep";
/Zephyr-latest/boards/contextualelectronics/abc/
Dcontextualelectronics_abc.dts53 pinctrl-names = "default", "sleep";
68 pinctrl-names = "default", "sleep";
84 pinctrl-names = "default", "sleep";
94 pinctrl-names = "default", "sleep";
/Zephyr-latest/doc/develop/api/
Dterminology.rst13 if executing the function can cause the invoking thread to sleep
16 trying to sleep
61 Functions that are **reschedule** but not **sleep** may be invoked from
66 sleep section in API Terminology
69 The sleep attribute is used on a function that can cause the invoking
70 thread to :ref:`sleep <scheduling_v2>`.
79 sleep. argument
81 This attribute does not imply the function will sleep unconditionally,
86 Functions that are **sleep** are implicitly **reschedule**.
88 Functions that are **sleep** may be invoked from thread context.
[all …]
/Zephyr-latest/boards/innblue/innblue21/
Dinnblue21_common.dtsi93 pinctrl-names = "default", "sleep";
101 pinctrl-names = "default", "sleep";
108 pinctrl-names = "default", "sleep";
119 pinctrl-names = "default", "sleep";
152 pinctrl-names = "default", "sleep";
159 pinctrl-names = "default", "sleep";
/Zephyr-latest/boards/innblue/innblue22/
Dinnblue22_common.dtsi86 pinctrl-names = "default", "sleep";
94 pinctrl-names = "default", "sleep";
101 pinctrl-names = "default", "sleep";
113 pinctrl-names = "default", "sleep";
155 pinctrl-names = "default", "sleep";
162 pinctrl-names = "default", "sleep";
/Zephyr-latest/boards/raytac/mdbt53v_db_40/
Draytac_mdbt53v_db_40_nrf5340_cpuapp_common.dts116 pinctrl-names = "default", "sleep";
124 pinctrl-names = "default", "sleep";
132 pinctrl-names = "default", "sleep";
139 pinctrl-names = "default", "sleep";
146 pinctrl-names = "default", "sleep";
155 pinctrl-names = "default", "sleep";
/Zephyr-latest/boards/u-blox/ubx_bmd340eval/
Dubx_bmd340eval_nrf52840.dts163 pinctrl-names = "default", "sleep";
171 pinctrl-names = "default", "sleep";
179 pinctrl-names = "default", "sleep";
188 pinctrl-names = "default", "sleep";
195 pinctrl-names = "default", "sleep";
204 pinctrl-names = "default", "sleep";
212 pinctrl-names = "default", "sleep";
220 pinctrl-names = "default", "sleep";
227 pinctrl-names = "default", "sleep";
259 pinctrl-names = "default", "sleep";
/Zephyr-latest/boards/panasonic/pan1770_evb/
Dpan1770_evb.dts170 pinctrl-names = "default", "sleep";
178 pinctrl-names = "default", "sleep";
186 pinctrl-names = "default", "sleep";
194 pinctrl-names = "default", "sleep";
201 pinctrl-names = "default", "sleep";
209 pinctrl-names = "default", "sleep";
217 pinctrl-names = "default", "sleep";
225 pinctrl-names = "default", "sleep";
232 pinctrl-names = "default", "sleep";
243 pinctrl-names = "default", "sleep";
/Zephyr-latest/boards/panasonic/pan1780_evb/
Dpan1780_evb.dts170 pinctrl-names = "default", "sleep";
178 pinctrl-names = "default", "sleep";
186 pinctrl-names = "default", "sleep";
194 pinctrl-names = "default", "sleep";
201 pinctrl-names = "default", "sleep";
209 pinctrl-names = "default", "sleep";
217 pinctrl-names = "default", "sleep";
225 pinctrl-names = "default", "sleep";
232 pinctrl-names = "default", "sleep";
243 pinctrl-names = "default", "sleep";
/Zephyr-latest/samples/net/sockets/dumb_http_server_mt/
Ddocker-test.sh23 sleep 1
54 sleep 1
/Zephyr-latest/samples/boards/st/power_mgmt/serial_wakeup/boards/
Dstm32l562e_dk.overlay21 pinctrl-names = "default", "sleep";
38 pinctrl-names = "default", "sleep";
52 pinctrl-names = "default", "sleep";

12345678910>>...20