|
RKH
|
Defines the data structure used to maintain information that allows the timer-handling facility to update and expire software timers. More...
#include <rkhtmr.h>
Data Fields | |
| RKH_EVT_T * | evt |
| RKH_TMR_T * | tnext |
| const struct RKH_SMA_T * | sma |
| State machine application (a.k.a Active Object) that receives the timer event. | |
| RKH_TNT_T | ntick |
| Tick down-counter. | |
| RKH_TNT_T | period |
| Number of ticks for all timer expirations after the first (expiration period). A zero for this parameter makes the timer a one-shot timer, otherwise, for periodic timers, any value in range. | |
| rui8_t | used |
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.
| RKH_TMR_T* tnext |
| rui8_t used |