TNeo  v1.06
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
TN_Timer Struct Reference

Detailed Description

Timer.

Definition at line 205 of file tn_timer.h.

Data Fields

struct TN_ListItem timer_queue
 A list item to be included in the system timer queue.
 
TN_TimerFuncfunc
 Function to be called by timer.
 
void * p_user_data
 User data pointer that is given to user-provided func.
 
TN_TickCnt start_tick_cnt
 Available if only TN_DYNAMIC_TICK is set. More...
 
TN_TickCnt timeout
 Available if only TN_DYNAMIC_TICK is set. More...
 
TN_TickCnt timeout_cur
 Available if only TN_DYNAMIC_TICK is not set. More...
 
enum TN_ObjId id_timer
 id for object validity verification
 

Field Documentation

TN_TickCnt TN_Timer::start_tick_cnt

Available if only TN_DYNAMIC_TICK is set.

Tick count value when timer was started

Definition at line 221 of file tn_timer.h.

TN_TickCnt TN_Timer::timeout

Available if only TN_DYNAMIC_TICK is set.

Timeout value (it is set just once, and stays unchanged until timer is expired, cancelled or restarted)

Definition at line 227 of file tn_timer.h.

TN_TickCnt TN_Timer::timeout_cur

Available if only TN_DYNAMIC_TICK is not set.

Current (left) timeout value

Definition at line 235 of file tn_timer.h.


The documentation for this struct was generated from the following file: