altairpearl
a409191b71
core: Updated include guards to remove leading underscores
2015-03-30 06:10:58 +05:30
Oleg Hahm
07fe5bcc9f
Merge pull request #1709 from benpicco/hwtimer_fix
...
allow HWTIMER_SPEED > 1000000
2014-12-04 19:00:38 +01:00
Ludwig Ortmann
68e1db938c
core/hwtimer: fix HWTIMER_SPIN_BARRIER doc
2014-11-28 13:53:23 +01:00
Oleg Hahm
18381661dc
doc: fix documentation for hwtimer
...
@verbatim was used incorrectly and a closing html tag was missing
2014-10-23 17:29:25 +02:00
BytesGalore
74161f0f2d
core: moved #include
s outside the extern "C"
guards
2014-10-21 13:46:04 +02:00
Pham Huu Dang Nhat
2ded32dee7
c++: core: add extern C in header files
2014-10-09 06:18:16 +07:00
Benjamin Valentin
d6ca7c44c2
prevent rounding 0 if HWTIMER_SPEED > 1000000L
...
The current macros in hwtimer.h expect HWTIMER_SPEED to be < 1000000L, otherwise integer arithmetic will round the result down to 0.
Add a case to prevent that.
2014-10-06 22:13:48 +02:00
Ludwig Ortmann
f677f70836
core/hwtimer: add HWTIMER_WAIT_OVERHEAD
2014-10-01 19:53:43 +02:00
Ludwig Ortmann
0a8be81526
core/hwtimer: clean up header
...
- break/shorten overlong lines
- improve grammar
2014-10-01 19:53:42 +02:00
Ludwig Ortmann
da550bc913
introduce HWTIMER_SPIN_BARRIER (API change)
...
Boards should define HWTIMER_SPIN_BARRIER that is used to decide
whether it makes sense to set a timer and yield or call hwtimer_spin
instead.
Used by `core/hwtimer.c` and `sys/vtimer/vtimer.c`.
A default value is provided and a warning is printed when it is used.
2014-10-01 19:53:42 +02:00
Ludwig Ortmann
b7992922ce
fix license headers in non-.c files
2014-08-23 16:16:26 +02:00
Ludwig Ortmann
b6846e31fc
doc: fix most occurences of FU as an author
...
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
Ludwig Ortmann
93647306d7
core/doc: complete hwtimer.h and hwtimer_arch.h
2014-05-15 13:48:55 +02:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Hauke Petersen
edcabf7cb6
Fixed a lot of comments by removing tabs and correcting format.
2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +01:00
Christian Mehlis
05c05661e6
Merge pull request #337 from LudwigOrtmann/hwtimer_cleanup
...
hwtimer.h remove cruft, document, rearrange
2013-12-03 02:12:13 -08:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Ludwig Ortmann
ed0d108da6
hwtimer.h remove cruft, document, rearrange
...
remove unsused hwtimer_t0* declarations
document hwtimer_now
move hwtimer_now outside the internal section
2013-11-23 11:25:42 +01:00
Christian Mehlis
6da0375197
fix macros in the hwtimer
2013-08-26 21:36:34 +02:00
Oliver Hahm
0d6d8390c0
* updated copyright and license headers in various files
2013-06-18 17:21:38 +02:00
Martin Lenders
07e8ac9c19
Remove swtimer
...
see #4
2013-04-11 15:24:15 +02:00
Oleg Hahm
2ed63bd5c6
* removed outdated (and probably confusing) FeuerWhere project as an author
2013-03-08 11:30:23 +01:00
Oliver Hahm
75b4c946ac
[core hwtimer]
...
* removed double function prototype
2012-01-04 17:44:14 +01:00
5467d08536
* hwtimer: export hwtimer_now
2010-11-26 14:34:10 +01:00
Oliver Hahm
e335ccfb43
* fixed wrong return value for thread_wakeup
...
* changed hwtimer_wait to use thread_sleep instead of mutexes
2010-11-04 16:21:39 +01:00
91ae1eb6fd
* import from old firekernel repository
2010-09-22 15:10:42 +02:00