Method for realizing sleep function in embedded system
An embedded system and sleep technology, applied in the direction of multi-program device, data processing power supply, program startup/switching, etc., can solve the problem that the message mechanism is impossible and not suitable for integration, etc., to reduce load, avoid trouble, reduce The effect of share
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] Embodiments of the present invention are described in further detail below in conjunction with the accompanying drawings:
[0021] Such as image 3 As shown, the method for realizing sleep function in a kind of embedded system provided by the present invention comprises the following contents:
[0022] Add a special Task (task) for the protocol stack, called TimerTask (timer task);
[0023] This Task uses the message mechanism of the application framework to receive and send the messages of the application framework, here mainly Timer (timer) messages, and the Task of the protocol stack is not established based on the message mechanism of the application framework, it cannot receive the messages of the application framework , but you can manually construct such a message and send it out;
[0024] Step S101: implement a special Sleep (sleep) function for the protocol stack;
[0025] Such as figure 2 Shown is the flow chart of the Sleep function, where:
[0026] Ste...
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