logo Training

Introduction to SYS BIOS (4)——Software interrupt_2

Total of 1 lesson ,7 minutes and 22 seconds
Profile


Software interrupts are only found in operating systems. They are a clone of hardware interrupts. In SYSBIOS, their priority is lower than hardware interrupts and higher than task threads. It can have up to 32 priorities. As long as the system resources allow, theoretically an infinite number of software interrupts can be created, while there are only a limited number of hardware interrupts. Since it is managed by SYSBIOS kernel scheduling, the response time is longer than that of hardware interrupts.
The following is about the method of dynamic creation. Special attention should be paid here that software interrupts can only be created in task threads and idle threads. Never create them in software interrupt threads and hardware interrupt threads, otherwise unpredictable events will occur. As a result,
we can see that software interrupts are triggered by programs, while most hardware interrupts are triggered by interrupt events, such as serial port reception interrupt events, which are not necessarily triggered by programs.

You Might Like

Recommended Posts

Microcontroller small production
Suitable for beginners [[i] This post was last edited by zhaobqing163 on 2008-11-29 18:17 [/i]]
zhaobqing163 MCU
(Reprinted) Inspection and processing of layout and wiring
[p=18, 0, left][color=#000][font=宋体, arial][size=12px][b]PCB wiring[/b] [/size][/font][/color][/p][p=18, 0, left][color=#000][font=宋体, arial][size=12px] [/size][/font][/color][/p][p=18, 2, left][color
抛砖引玉 Analog electronics
Keil Getting Started Tutorial
Keil Getting Started Tutorial
z1z1z1z1z1 MCU
Looking for the program of M16 and light intensity sensor TSL2561
I want to use M16 and light intensity sensor TSL2561 to generate PWM wave to drive LED dimming.
guowj513 Microchip MCU
Recommended Content
Web users are watching Change

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号