Oleg Hahm
9a38c1085c
Merge pull request #6428 from OTAkeys/fix/xtimer_mutex_infinite_loop
...
xtimer: fix mutex unlocking in _mutex_timeout
2017-01-20 16:43:38 +01:00
Vincent Dupont
eacffdf490
xtimer: fix mutex unlocking in _mutex_timeout
2017-01-19 18:26:52 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
Victor Arino
17d6d2a5b5
sys/xtimer: implement mutex lock with timeout
2017-01-12 13:20:26 +01:00
Joakim Nohlgård
63e91151cd
xtimer: Add tick conversion
2016-11-28 11:00:42 +01:00
Joakim Nohlgård
4449ba4933
xtimer: Refactor xtimer_usleep_until and rename to xtimer_periodic_wakeup
...
Rewrote conditions for improved readability, and removed magic number 512
2016-07-29 13:05:02 +02:00
Joakim Nohlgård
7c70d3bc4f
xtimer: Add Eistec copyright and author
2016-07-06 22:23:05 +02:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
Ian Martin
31c6bcc4d8
xtimer: return after xtimer_spin() when within an ISR
2016-05-10 13:30:40 -04:00
DipSwitch
0bb4748a94
core: Fix/refactor function naming in core/incude/irq.h
2016-03-20 16:47:34 +01:00
Oleg Hahm
0ddd6ec15e
xtimer: implement xtimer_msg_receive_timeout
2015-11-23 20:45:25 +01:00
725473d9a6
sys: xtimer: make xtimer use div.h
2015-10-12 23:25:59 +02:00
Joakim Nohlgård
7f254c6d12
sys/xtimer: rename _ms_to_sec -> _us_to_sec to reflect actual functionality
...
The function divides the argument by 1000000, (microsecond to seconds)
2015-09-28 14:23:16 +02:00
Oleg Hahm
38148c2d48
xtimer: initialize struct members
...
The xtimer_t struct members target and long_target are used in _is_set() function in xtimer_remove(), but will be uninitialized.
2015-09-20 02:00:55 +02:00
a719e7d61f
sys: xtimer: some updates
...
- more robust underflow protection in xtimer_usleep_until()
- use relative target in xtimer_spin()
- honour reference in isr when spinning until timer target
- add XTIMER_BACKOFF to xtimer_spin_until() target when backing off in
_timer_set_absolute()
- doxygen updates
2015-09-16 12:34:31 +02:00
40812e722e
sys: xtimer: use relative spin in absolute set functions
2015-09-16 11:13:42 +02:00
e27ce2465f
sys: xtimer: add xtimer_wakeup64
2015-09-16 10:58:54 +02:00
808a8bc899
sys: xtimer: introduce new timer subsystem
2015-08-25 13:20:35 +02:00