|
|
|
@ -19,7 +19,7 @@ we consider this long-term...). The mid-term timers are set to 3 and 5 minutes.
|
|
|
|
|
Both kind of timers have one that is using `xtimer_usleep` and one that is |
|
|
|
|
using `xtimer_set_msg`. |
|
|
|
|
|
|
|
|
|
The short-term timer is triggered every 50ms and is using `xtimer_sleep_until`. |
|
|
|
|
The short-term timer is triggered every 50ms and is using `xtimer_periodic_wakeup`. |
|
|
|
|
Each time this timer triggers, it increments a software counter, which triggers |
|
|
|
|
then a message every minute. A 50ms interval should be small enough, to trigger |
|
|
|
|
also for 16-bit wide timers at least once in every timer period. |
|
|
|
@ -28,4 +28,4 @@ On each mid- and long-term timer event, the output shows also the number of
|
|
|
|
|
fast timer (1min timer) ticks, that have been triggered since a timer was |
|
|
|
|
triggered last. This number should be equal to the timers interval. |
|
|
|
|
|
|
|
|
|
For reasonable results, you should run this test at least for some ours... |
|
|
|
|
For reasonable results, you should run this test at least for some hours... |
|
|
|
|