Instant SoC Class Library
3.1
|
Timer. More...
Public Member Functions | |
void | Start (U32 t, TimeUnits unit) |
void | Start (U32 t, TimeUnits unit, U8 event_id) |
void | Stop () |
int | Sleep (int t, TimeUnits unit=TU_us) |
int | WaitTimer () |
Timer.
There are three ways to use the system timers. You can "Sleep", "Wait" for one timer or wait for one of many timers using the FC_System_EventManager.
This example show how to wait for multiple timers using FC_System_EventManager:
This example will give the following result: