Benjamin Valentin
ca193cf515
xtimer: introduce xtimer_msleep()
...
Add a function that sleeps for ms instead of µs.
This will make the conversion to ztimer easier for users as now there is
a direct mapping to ZTIMER_MSEC.
2020-10-24 21:38:25 +02:00
M Aiman Ismail
bc8d55fde9
sys/xtimer: remove _xtimer_set_absolute
2020-09-08 14:21:40 +02:00
dd218333c2
sys/ztimer: add xtimer_on_ztimer
...
This commit adds logic to make xtimer use ztimer_usec as backend
(instead of periph_timer). This allows ztimer_usec and xtimer to
coexist. It also allows xtimer to profit from eventually implemented
power mode blocking in ztimer's periph_timer backend.
2020-03-04 12:44:03 +01:00
885bb84ce5
sys/xtimer: _xtimer_now64(): fix irq_disable() return value type
2020-01-22 12:46:17 +01:00
Hyungsin
387344775b
sys: xtimer concurrency/robustness improvement
2020-01-10 10:06:16 -08:00
Marian Buschsieweke
cd1ce6b98d
sys/xtimer: Remove dependency to core_msg
...
When module `core_msg` is not used, `xtimer` now no longer provides the features
related to messages. This allows using `xtimer` without `core_msg`.
2019-10-31 19:55:50 +01:00
Josarn
672368954e
xtimer: timer & target overflow, hang resolved.
...
1. When the 32 bit target of the xtimer overflowed the timer was not placed in the right list.
2. When the hardware timer overflowed the comparison was wrong for setting next target.
3. Backoff condition
2018-11-01 16:48:20 +01:00
Josarn
bb7acca31e
sys/include/xtimer: Added xtimer_set64()
2018-04-04 16:58:59 +02:00
Hauke Petersen
6b526f05de
sys/xtimer: remove duplicat _xtimer_set declaration
2018-01-09 15:43:59 +01:00
Martine Lenders
b2bc244ce9
xtimer: fix cppcheck warnings
2017-04-14 14:36:14 +02:00
Oleg Hahm
3c6678b037
*: fix mismatching endifs for header guards
2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
Joakim Nohlgård
8217e49330
sys/xtimer: avoid C99 initializer list to make file C++11 compatible
2016-11-28 11:00:43 +01:00
Joakim Nohlgård
a23bfc64ff
xtimer: Introduce xtimer_diff, xtimer_less for comparing timestamps
2016-11-28 11:00:42 +01:00
Joakim Nohlgård
b5554dd7e0
xtimer: Introduce xtimer_now_usec convenience functions
2016-11-28 11:00:42 +01:00
Joakim Nohlgård
63e91151cd
xtimer: Add tick conversion
2016-11-28 11:00:42 +01:00
Joakim Nohlgård
da8cd11816
xtimer: Move xtimer_spin_until into xtimer_core.c
2016-07-06 22:23:07 +02:00
Joakim Nohlgård
e4e1814602
xtimer: Remove old xtimer_trace.h include
...
The file was missing anyway.
2016-07-06 22:23:07 +02:00
Joakim Nohlgård
4d862955c2
xtimer: Rename XTIMER -> XTIMER_DEV
2016-07-06 22:23:04 +02:00
Joakim Nohlgård
2f832117f8
xtimer: prefix _lltimer_now, _lltimer_mask with _xtimer
2016-07-06 22:23:04 +02:00
Joakim Nohlgård
8c90b1020b
xtimer: Split header into API and implementation
2016-07-06 22:23:04 +02:00