CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - highest priority first
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - highest priority first - List
[
SCM
]
ProcessScheduling
DL : 0
一、目的要求 用高级语言编写和调试一个进程调度程序,以加深对进程的概念及进程调度算法的理解。 二、例题: 设计一个有 N个进程共行的进程调度程序。 进程调度算法:采用最高优先数优先的调度算法(即把处理机分配给优先数最高的进程)和先来先服务算法。 每个进程有一个进程控制块( PCB)表示。进程控制块可以包含如下信息:进程名、优先数、到达时间、需要运行时间、已用CPU时间、进程状态等等。 -First, the purpose of high-level language requires a process of writing and debugging scheduling procedures in order to deepen their understanding of the process of the concept and understanding of the process of scheduling algorithm. Second, Example: Design of a total of N months the process of the process of scheduling procedures. The process of scheduling algorithm: The number of priority of the highest priority scheduling algorithm (that is, the number of processors allocated to the highest priority to the process) and first-come first-serve algorithm. Each process is a process control block (PCB) said. Process control block can contain the following information: the process name, priority number, arrival time, need to run the time, has spent CPU time, the process of state and so on.
Date
: 2026-01-11
Size
: 73kb
User
:
Anson
[
SCM
]
f
DL : 0
一个BCD的优先编码器电路,输入为10个开关的状态,要求输出开 关对应的编码。输出编码用4位表示,第一个开关为0时,输出为0000时,第二个开关为0时,输出为0001时,...... 第10个开关为0时,输出为1001。第10个开关的优先级最高。当没有按键按下时,输出信号E为1。有按键按下时,输出信号E为0。 -A BCD priority encoder circuit, the input switches for the 10 state code requirements of the corresponding output switch. With 4-bit output code, said first switch is 0, the output is 0000, the second switch is 0, the output for the 0001 ,...... 10 switches to 0, the output is 1001. 10 switches the highest priority. When no key is pressed, the output signal E is 1. A key is pressed, the output signal E 0.
Date
: 2026-01-11
Size
: 159kb
User
:
winny
[
SCM
]
stm32
DL : 0
在STM32的I2C上摔了一跤,测试了官方提供的几个例程和库,都有不同缺陷,也无法弥补: 1、查询方式,在连续读数据的过程中不能中断 2、DMA方式类似,在同一DMA中I2C的级别必须最高,否则同1. 3、中断方式也不能有更高优先级中断I2C,否则同1. 鉴于以上原因,无奈的口线模拟了I2C。(仅仅代表个人看法,欢迎指正) 附件中的项目文件已经过测试,为感谢OUR这几年的帮助,先开源这个小程序-I2C on the STM32' s fall, the official offered few tested routines and libraries, have different defects, can not make up: 1, query methods, in a continuous process of reading the data can not be interrupted 2, DMA similar to at the same level of DMA in the I2C to be the highest, or with 1.3, can not interrupt higher priority interrupt I2C, or with 1. For these reasons, but unfortunately the port line to simulate the I2C. (Only represent my personal views, please correct me) the attached project document has been tested and OUR for the past few years thanks to help, first open the applet
Date
: 2026-01-11
Size
: 38kb
User
:
yongge
[
SCM
]
RTX51_for-me
DL : 0
lq51系统整合了RTX51—Tiny的优点。1、在lq51系统中_task_ 关键依然有效,0号任务依然是最高优先级的任务,1号任务次之, 依次类推。2、lq51系统完整编译只需2.5K的ROM,并且系统自带 的128B RAM对lq51系统也是绰绰有余的。同时lq51系统弥补了 RTX51—Tiny的缺点。首先lq51系统采用占先式任务调度,这样可 以最大限度保证系统的实时性。其次lq51系统提供 lqDelay、lqWaitFlg、 lqWaitSem、lqWaitMsg这样四种系统服务,并 且每种系统服务都是可裁剪的。-The lq51 system integration RTX51-Tiny advantage of. 1 lq51 system _task_ key is still valid, the Mission is still the highest priority task, the mission followed, and so on. Lq51 system complete compile simply 2.5K ROM, and the system comes with 128B RAM on the the lq51 system is more than enough. The lq51 system to make up for the shortcomings of RTX51-Tiny. First, the the lq51 system uses preemptive task scheduling, so you can maximize ensure the real-time nature of the system. Second, the the lq51 system provide the so lqDelay, lqWaitFlg, lqWaitSem, lqWaitMsg four system service, and each system services are cropped.
Date
: 2026-01-11
Size
: 317kb
User
:
zhf
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.