Home
last modified time | relevance | path

Searched refs:uptime (Results 1 – 19 of 19) sorted by relevance

/Zephyr-Core-2.7.6/samples/drivers/counter/maxim_ds3231/src/
Dmain.c107 uint32_t uptime = k_uptime_get_32(); in min_alarm_handler() local
108 uint8_t us = uptime % 1000U; in min_alarm_handler()
110 uptime /= 1000U; in min_alarm_handler()
111 uint8_t se = uptime % 60U; in min_alarm_handler()
113 uptime /= 60U; in min_alarm_handler()
114 uint8_t mn = uptime % 60U; in min_alarm_handler()
116 uptime /= 60U; in min_alarm_handler()
117 uint8_t hr = uptime; in min_alarm_handler()
/Zephyr-Core-2.7.6/samples/net/gptp/src/
Dgptp.c76 uint32_t uptime = k_uptime_get_32(); in init_testing() local
91 (k_uptime_get_32() - uptime) / 1000); in init_testing()
/Zephyr-Core-2.7.6/tests/kernel/common/src/
Dtimeout_order.c65 uint32_t uptime = k_uptime_get_32(); in test_timeout_order() local
68 while (uptime == k_uptime_get_32()) { in test_timeout_order()
/Zephyr-Core-2.7.6/samples/drivers/counter/maxim_ds3231/
DREADME.rst47 second past the hour is written at 1000 ms local uptime::
102 2019-07-19 06:01:00 Fri 200: adj 0.002000000, uptime 0:01:00.002, clk err 34 ppm
103 2019-07-19 06:02:00 Fri 200: adj 0.003000000, uptime 0:02:00.004, clk err 25 ppm
104 2019-07-19 06:03:00 Fri 200: adj 0.005000000, uptime 0:03:00.005, clk err 28 ppm
105 2019-07-19 06:04:00 Fri 200: adj 0.006000000, uptime 0:04:00.007, clk err 25 ppm
106 2019-07-19 06:05:00 Fri 200: adj 0.008000000, uptime 0:05:00.008, clk err 26 ppm
DKconfig9 If enabled this reads the RTC then sets it so that uptime
/Zephyr-Core-2.7.6/subsys/shell/modules/
DKconfig14 This shell provides access to basic kernel data like version, uptime
Dkernel_service.c270 SHELL_CMD(uptime, NULL, "Kernel uptime.", cmd_kernel_uptime),
/Zephyr-Core-2.7.6/samples/boards/reel_board/mesh_badge/src/
Dreel_board.c479 uint32_t uptime = k_uptime_get_32(); in button_interrupt() local
482 if (uptime - press_ts < 500) { in button_interrupt()
488 press_ts = uptime; in button_interrupt()
/Zephyr-Core-2.7.6/doc/reference/kernel/timing/
Dclocks.rst36 uptime and timeout bookkeeping. Interrupts are expected to be
74 The kernel tracks a system uptime count on behalf of the application.
76 provides an uptime value in milliseconds since system boot. This is
113 being 32 bits. Large uptime counts in non-tick units will experience
120 indicates a timeout that will expire after the system uptime reaches
315 arbitrary timeout to the uptime value in ticks at which it will
338 uptime precision to prevent rollover bugs, handles special
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/bsim_test_mesh/src/
Dmesh_test.c427 int64_t uptime = k_uptime_get(); in bt_mesh_test_send() local
443 LOG_INF("Sending completed (%lld ms)", k_uptime_delta(&uptime)); in bt_mesh_test_send()
/Zephyr-Core-2.7.6/samples/boards/nrf/system_off/
DREADME.rst30 system off was entered, and total uptime since initial power-on are retained
/Zephyr-Core-2.7.6/doc/reference/networking/
Dnet_timeout.rst13 Zephyr's network infrastructure mostly uses the millisecond-resolution uptime
/Zephyr-Core-2.7.6/include/
Dkernel.h1619 int64_t uptime, delta; in k_uptime_delta() local
1621 uptime = k_uptime_get(); in k_uptime_delta()
1622 delta = uptime - *reftime; in k_uptime_delta()
1623 *reftime = uptime; in k_uptime_delta()
/Zephyr-Core-2.7.6/drivers/timer/
DKconfig370 bool "Timer allowed to skew uptime clock during idle"
373 correct system uptime count when the system enters idle.
/Zephyr-Core-2.7.6/doc/reference/misc/
Dtimeutil.rst78 uptime is tracked in ticks which advance at events that nominally occur at
/Zephyr-Core-2.7.6/kernel/
DKconfig571 uptime and timeout bookkeeping. Interrupts are expected to be delivered
/Zephyr-Core-2.7.6/doc/guides/porting/
Darch.rst103 * Updating the kernel uptime if getting out of tickless idle mode.
/Zephyr-Core-2.7.6/doc/releases/
Drelease-notes-2.6.rst1267 * :github:`35073` - timer: cortex_m_systick: uptime drifting in tickless mode
Drelease-notes-2.7.rst22 * :github:`56604` - drivers: nrf: rtc: make uptime consistent for app booted from v3.x mcuboot