logo Training

Introduction to SYS BIOS (4)——Software interrupt_1

Total of 1 lesson ,7 minutes and 21 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. Consequences
It can be seen that software interrupts are triggered by programs, while hardware interrupts are mostly triggered by interrupt events, such as serial port reception interrupt events, which are not necessarily triggered by programs.

You Might Like

Recommended Posts

I/O multiplexing select()
The select() system call provides a mechanism for implementing synchronous I/O multiplexing: #include int select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
chenbingjy Linux and Android
User Guide Chinese version User Guide Wizard 010 Translation slau144i
[align=left]20[/align][align=left]OA ......... ......... ......... ......... .......................525[/align][align=left]20.1[/align][align=left]OA Introduction ......... ......... ......... .......
ppiicc Microcontroller MCU
AD9850 Driver--MSP430 Version
[font="][size=16px][b]AD9850 Driver--MSP430 Version[/b][/size][/font] [font=Tahoma, Helvetica, SimSun, sans-serif]I was busy drawing boards, doing op amps and filtering some time ago, and rarely updat
fish001 Microcontroller MCU
Simplify Your BOM with High Voltage Amplifiers
Because operational amplifier (op amp) specifications vary, engineers often need to select multiple op amps to meet the needs of each subsystem on their board. This can complicate the process from sou
qwqwqw2088 Analogue and Mixed Signal
What are the advantages and disadvantages of network protocol chips and writing protocols with processors?
As the title says, what are the advantages and disadvantages of using a network protocol chip and using a processor or FPGA to write the network protocol directly to the Ethernet PHY chip? For example
suifeng654456 FPGA/CPLD
TI Bluetooth Low Energy/Zigbee RF4CE Remote Control
If you want an additional remote control, purchase the CC2650RC after purchasing one of the following two complete development kits:CC2650RC-BLEDEV: CC2650RC Bluetooth Low Energy Remote Control Develo
Jacktang Wireless Connectivity
Recommended Content
Web users are watching Change
MoreHot Articles

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号