Method and system for realizing parallel execution of real-time tasks and time-consuming tasks of single-chip microcomputer
A technology for real-time tasks and implementation methods, which is applied in concurrent instruction execution, machine execution devices, program control devices, etc., and can solve the problems of error-prone state transition, high error correction and maintenance costs, occupation of memory and processor resources, etc. Avoid loss of calling context, clear software development process, and no performance loss
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0029] Below in conjunction with each accompanying drawing, embodiment is described in further detail:
[0030] see Figure 4 , a system for realizing parallel execution of real-time tasks and time-consuming tasks of a single-chip microcomputer, including a time-consuming task module, a real-time task module and an interrupt task module, the time-consuming task module is located at the top of the system, and the real-time task module is located at the middle layer of the system , the interrupt task module is located at the bottom of the system. In this way, by clearly dividing the task hierarchy, real-time tasks and time-consuming tasks can be executed in parallel in single-threaded mode, and the chaotic situation of splitting time-consuming tasks followed by mixed scheduling of real-time tasks can be avoided.
[0031] Specifically, the real-time task module includes a sequentially connected timing task submodule for updating the timing task counter, a sending packet submodul...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


