Defines the data structure used to maintain information that allows the timer-handling facility to update and expire software timers.
More...
Defines the data structure used to maintain information that allows the timer-handling facility to update and expire software timers.
RKH software timers enables to execute application C functions and/or send an event to application state machine (SMA) at specific intervals of time. It can also set an application timer to expire only once. This type of timer is called a one-shot timer, while repeating interval timers are called periodic timers. Each application timer is a public resource. Time intervals are measured by periodic timer interrupts. Each timer interrupt is called a timer-tick. The actual time between timer-ticks is specified by the application. On the other hand, application timers execute in the order in which they become active.
- Note
- RKH prohibits an application from explicitly modifying the RKH_TMR_T structure. The RKH's timer structures can be located anywhere in memory, but it is most common to make it a global structure by defining it outside the scope of any function. An RKH timer is created when an application timer is declared with the RKH_TMR_T data type. The following listing declares "my_timer" timer:
Defines the data structure used to maintain information that allows the timer-handling facility to up...
Definition at line 314 of file rkhtmr.h.