Management method for embedded system timer
An embedded system and management method technology, applied in the field of embedded system timer management, can solve the problem of occupying too many system resources, and achieve the effect of saving system resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0051] Below is the data structure of the present invention that C language realizes, mainly comprises:
[0052]1) The doubly linked list structure of the management timer:
[0053] typedef struct tagTimer
[0054] {
[0055] struct tagTimer *pstNext; / / backward pointer
[0056] struct tagTimer *pstPrev; / / forward pointer
[0057] ULONG msgQId; / / Timer message queue ID
[0058] VOID (*pfFu nc)(VOID*); / / timeout callback function
[0059] VOID *pAr g; / / parameter of the callback function
[0060] TIMER_TYPE_EN enType; / / Timer type (one-time timer or
[0061] periodic timer)
[0062] LONG lTick; / / Timer length
[0063] LONG lTickGap; / / Time difference with the previous timer
[0064] ULONG ulModuleId; / / Register the module number of the timer
[0065]}Timer_S;
[0066] 2) Link list header structure:
[0067] typedef struct
[0068] {
[0069] Timer_S *head; / / The first timer structure p...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com