#include <oscl_timer.h>
Inheritance diagram for OsclTimer< Alloc >:
Public Types | |
typedef CallbackTimer< Alloc > | callback_timer_type |
Public Methods | |
OsclTimer (const char *name, uint32 frequency=1, int32 priority=OsclActiveObject::EPriorityNominal) | |
virtual | ~OsclTimer () |
void | SetObserver (OsclTimerObserver *obs) |
void | SetFrequency (uint32 frequency) |
void | SetExactFrequency (uint32 frequency) |
void | Request (int32 timerID, int32 timeoutInfo, int32 cycles, OsclTimerObserver *obs=0, bool recurring=0) |
void | Cancel (int32 timerID, int32 timeoutInfo=-1) |
void | Clear () |
Protected Methods | |
void | TimerBaseElapsed () |
Friends | |
class | CallbackTimer< Alloc > |
|
|
|
Constructor
|
|
|
|
Cancel a timer
|
|
Cancel all pending timers. |
|
Request a timer
|
|
Set the exact frequency of the timer in microsecond.
|
|
Set the frequency of the timer in cycles/second.
|
|
Set the global observer. Each timer can request a local observer, which if set overrides the global observer.
|
|
Implements CallbackTimerObserver. |
|
|