MTK timer message transmission mechanism MTK timer message processing mechanism 1. Basic concepts and Neclus kernel timer initialization expires: specifies the time when the timer expires. This time is expressed as the clock tick count (that is, the number of clock beats) since the system started. When the expires value of a timer is less than or equal to the jiffies variable, we say that the timer has timed out or expired. After initializing a timer, its expires field is usually set to the current value of the current expires variable plus some time interval value (in clock ticks). typedef struct timertable{ /* store the timer_id. MSB(Most Significant Bit) is align_timer_mask */ U16 timer_id[SIMULTANEOUS_TIMER_NUM]; /* store the event_id that returns from evshed_set_event() */ eventid event_id[SIMULTANEOUS_TIMER_NUM]; /* store the timer_expiry_func */ oslTimerFuncPtr callback_func[SIMULTANEOUS_TIMER_NUM]; /* point to the next TIMERTABLE data */ struct timertable *next;} TIMERTABLE;typedef lcd_dll_node *eventid;struct lcd_dll_node { void *data; lcd_dll_node *prev; lcd_dll_node *next;}……
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore