Embedded system serial reliable communicating control method
A technology of an embedded system and a control method, applied in the field of serial communication, can solve the problems of difficult data processing, length errors, affecting the smooth completion of the serial port, etc., and achieve the effect of improving anti-interference and fault tolerance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0012] specific implementation plan
[0013] Below in conjunction with accompanying drawing 2,3,4 the present invention is described further.
[0014] Figure 2 is the main program flow chart:
[0015] Step 201: the initialization module is responsible for the initialization of the whole system;
[0016] Step 202: the background task module, in which the serial port communication is started, and the timer is started while starting in the serial port communication, and the detailed setting scheme of the timer is explained in conjunction with Fig. 3;
[0017] Step 203: Judging whether the serial port receiving timeout is judged according to whether the value of the timer provided by the background module is equal to 0 to determine whether to recycle the serial port resources. When the value of the timer is equal to 0, it indicates that the serial port communication has timed out, otherwise, continue the main loop program ;
[0018] Step 204: When the serial port communication ...
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