Marian Buschsieweke
e241b43d3f
sys/ztimer: clearify doc on clock ops
2021-02-09 22:34:04 +01:00
Martine Lenders
6da60c933d
Merge pull request #15802 from miri64/treewide/cleanup/cppcheck-whitelisted
...
treewide: re-uncrustify whitelisted files
2021-02-03 07:59:27 +01:00
Martine Lenders
7e3846b6a4
ztimer: apply uncrustify patches
2021-02-02 22:21:15 +01:00
Vincent Dupont
fb4d2e509a
ztimer: add ztimer_rmutex_lock_timeout()
...
Similar to xtimer_rmutex_lock_timeout()
2021-02-02 10:51:50 +01:00
Hauke Petersen
f5de257d58
ztimer: expose ztimer_is_set() to public API
2021-01-18 17:50:50 +01:00
Marian Buschsieweke
71a0c53df2
sys/ztimer: Add ztimer_mutex_lock_timeout()
2020-12-08 22:54:39 +01:00
0b801c4de0
all: adapt to moved sched defines
2020-11-23 16:56:34 +01:00
e1f390256a
sys/ztimer: add some doc on the data structure choice
2020-10-26 12:09:06 +01:00
70b160713e
ztimer: add comment explaining ztimer_spin() logic
2020-09-29 11:53:35 +02:00
07a1dde684
ztimer: fix ztimer_spin() time_left == duration case
2020-09-29 11:23:28 +02:00
Francisco
f3a5ee69e0
Merge pull request #14936 from kaspar030/ztimer_sleep_adjust
...
sys/ztimer: allow compensation of ztimer_sleep() overhead
2020-09-22 14:56:56 +02:00
fb7e285acd
ztimer: add ztimer_spin()
...
This adds a simple busy waiting function intended for blocking, but very
precise short delays.
2020-09-11 00:18:59 +02:00
2fbd85b798
sys/ztimer: allow compensation of ztimer_sleep() overhead
2020-09-09 12:50:51 +02:00
Marian Buschsieweke
527c429f5f
sys/ztimer: Fix compilation without ztimer_extend
...
`ztimer_init_extend()` should only be defined when module `ztimer_extend` is
used, as otherwise the `struct` member `clock->max_value` is not available.
2020-08-19 07:02:19 +02:00
Marian Buschsieweke
74ada3e0d8
sys/ztimer: Fixed typo in doc
2020-05-14 20:28:18 +02:00
Guillaume Meunier
4967b141fa
sys/ztimer: fix extern "C" guard at the end of ztimer.h and ztimer/config.h
2020-05-13 21:31:17 +02:00
Francisco Molina
a1f3a8d668
sys/ztimer: expose ZTIMER_MSEC/USEC_BASE
...
ztimer_clock are meant to be chained. At the end of the chaine
there is always a timer device object (periph_rtt/rtc/timer).
Since ZTIMER_MSEC and ZTIMER_USEC can be the scaled/shifted with
respect to the base periph_rtt/rtc/timer it makes sense to chain
other ZTIMER_XXX on top of the base rtc/timer/rtt in order to avoid
chained convertions.
2020-05-06 11:22:40 +02:00
fc68d9c3a3
sys/ztimer: properly initialize intermediate extension callback
2020-05-04 17:25:27 +02:00
Juergen Fitschen
73e22612e2
sys/ztimer: add power management for ztimer clocks
2020-04-29 10:55:10 +02:00
Juergen Fitschen
c42677609b
sys/ztimer: remove duplicate definition of _ztimer_now_extend()
2020-03-26 10:48:56 +01:00
6dd79366bb
sys: add ztimer subsystem
...
Co-authored-by: Joakim Nohlgård <joakim.nohlgard@eistec.se>
2020-03-04 12:44:02 +01:00