Commit Graph

15 Commits

Author SHA1 Message Date
nifi
f5ea831445 Added function rtimer_arch_now that makes sure that the timer value does not change between readouts to avoid reading while the timer is being updated. 2010-09-13 20:51:09 +00:00
adamdunkels
953a8c2015 Turn off timer before updating - needed to avoid bugs in ContikiMAC - not 100% sure why 2010-02-18 22:15:54 +00:00
adamdunkels
4ff6b5460a Removed safeguards around the update code for the timer; turns out they weren't needed (but instead triggered a bug in MSPsim) 2010-01-30 14:03:35 +00:00
adamdunkels
2772d31ae6 Turn off Timer A before modifying its control registers to avoid problems when timer is updated frequently 2010-01-18 21:17:11 +00:00
adamdunkels
a4df6e0fbf Remove the read from TAIV - this should not be done for TIMERA0 interrupts (in fact, doing so messes up the other timer a interrupts, like the clock tick...) 2009-12-08 23:39:45 +00:00
adamdunkels
873f4d0222 Need to clear the interrupt flag register for Timer A 2009-12-07 14:32:16 +00:00
fros4943
b0291ca5a8 bug fix: wake up MSP430 when leaving rtimer interrupt if the rtimer polled a process.
thanks to Marco Vedovati for finding the bug
2009-10-06 09:21:46 +00:00
joxe
23b7db88d5 moved rtimer from TimerB to TimerA so that TimerB subsystem is free for other uses 2008-12-02 12:44:48 +00:00
adamdunkels
62b7ef5173 Moved energest from lib/ to sys/ 2008-07-04 00:02:21 +00:00
joxe
a4985fd1f7 removed offset in rtimer_arch 2007-11-19 22:38:57 +00:00
joxe
aaae9f4cf8 removed redundant code - configuration of basic clock subsystem in clock and rtimer_arch 2007-09-03 19:22:37 +00:00
adamdunkels
432d242a3c Added energy estimation, embryo for possible future drift configuration 2007-05-22 20:59:47 +00:00
adamdunkels
b2b750e83b rtimer_arch_now() now returns the correct value 2007-04-07 05:45:08 +00:00
adamdunkels
b108ca702a Fixed description 2007-04-03 19:04:27 +00:00
adamdunkels
00645113e5 MSP430 real-time rtimer support using timerb1 2007-04-03 19:03:09 +00:00