TNeo  v1.07
 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

enum TN_ObjId id_timer
 id for object validity verification. More...
 
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...
 

Field Documentation

enum TN_ObjId TN_Timer::id_timer

id for object validity verification.

This field is in the beginning of the structure to make it easier to detect memory corruption.

Definition at line 210 of file tn_timer.h.

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 226 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 232 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 240 of file tn_timer.h.


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