Implementation method of preemptive multi-task real-time operating system for miniature single-chip microcomputer
A technology of a real-time operating system and an implementation method, which is applied in the field of preemptive multi-task real-time operating system implementation, can solve the problems of large space occupation, poor real-time performance, small amount of code and real-time performance, and achieve the effect of less storage resources and good real-time performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0037] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0038] Such as Figure 1-3 As shown, a method for implementing a preemptive multi-task real-time operating system for a micro-single-chip microcomputer, including an operating system establishment process and an operating system scheduling process. Among them, the establishment of the operating system includes the following steps:
[0039] (1) Determine the priority of each task according to the use requirements of the system, mainly based on the real-time performance required by the task, and tasks with high real-time requirements have higher priority;
[0040] (2) Allocate storage space for each task and establish an entry function. The storage space is mainly used to store task operation parameters. When the task is delayed, the operation parameters are stored in the storage space, and the subsequent tasks can be directly restored when runn...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


