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

usbkey
Engaged in professional cos development work, familiar with the working principles of various cos, willing to undertake the following work for a long time: 1. Develop various USB dongles and USBkey de
cclccl985 Embedded System
Save and restore BIOS parameters
Save and restore BIOS parameters The so-called system settings refer to the hardware device information that users can select and install. Usually, it must be recorded in some form so that when the sy
wo2000ailuo PCB Design
Why does 2450 eboot crash when downloading NK DNW0.6 over 40M?
As the title says. It is normal to download NK of more than 20M. If I download 40M, the progress bar of DNW will stop after two-thirds of the download. Here are some printed information: _OEMPlatformI
zhanghuiyang Embedded System
[FPGA warning message] No load capacitance is specified for output management
Warning: Found xx output pins without output pin load capacitance assignment Reason: No load capacitance is assigned to the output pin Solution: This function is used to estimate TCO and power consump
eeleader FPGA/CPLD
About LVDS Levels in FPGA
I use AD9230, which outputs LVDS level. I connect its data to FPGA. For example, the AD data line is: AD0+ to AD12+ and AD0- to AD12-. How to process this data in FPGA? Is it to subtract the positive
dahaotile FPGA/CPLD
Timer A in ADC is used as sampling trigger source
Why can't I enter the ADC interrupt when using timer A as the trigger source?#includemsp430x14x.h #define M 4 static unsigned int index = 0 ;unsigned int results[M]; void ADC12_Init ( void ) ;void UAR
Lucky_Hu Microcontroller 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号