timer: bugfix and test trigger_periodic (run/timer)

Fix #699
This commit is contained in:
Martin Stein
2013-03-21 16:54:35 +01:00
committed by Norman Feske
parent 5da281c1d8
commit dc814ff0f1
3 changed files with 38 additions and 3 deletions

View File

@ -36,6 +36,9 @@ namespace Timer {
/**
* Program periodic timeout (in microseconds)
*
* The first period will be triggered after 'us' at the latest,
* but it might be triggered earlier as well.
*/
virtual void trigger_periodic(unsigned us) = 0;