logo Training

Introduction to SYS BIOS (3) - Hardware interrupts and idle threads_2

Total of 1 lesson ,7 minutes and 51 seconds
Profile

The following are some characteristics of the software interrupt thread:
1. SYS/BIOS system kernel component
2. Generally triggered in the hardware interrupt thread (HWI)
3. 0-31 priority (default 0-15)
4. Unlimited number (memory allowance) Next)
5. It cannot be suspended and must run until the end unless it is preempted.
6. Share the system stack with the hardware interrupt thread.

The following are some characteristics of the task thread:
1. SYS/BIOS system kernel component
2. 0-31 priority (default 0-15, priority 0 is used by idle threads, the lowest priority of the task is 1)
3. Unlimited number (memory allowed)
4. Independent memory stack
5. More advanced scheduling technology
- can be used for waiting for a certain event is suspended
- the task will be interrupted by other higher priority threads
6. The number and status can be dynamically changed during program execution
7. The priority can be dynamically modified

The following are some characteristics of idle (background) threads:
1. SYS/BIOS system kernel component
2. Non-real-time thread
3. Will run if and only if no other thread (HWI / SWI / TASK) is running
4. All idle threads run at the same priority
5. Yes Quantity limit
6. Can be preempted by any other thread at any time
7. Default task stack, if the task thread is disabled, use the system stack
8. Run one after another, each idle thread function will be executed from start to end. After all functions are executed, execution starts from the first function, and the cycle starts again.
9. Do not use blocking statements on idle threads.

You Might Like

Recommended Posts

Interpretation of the Mayan mystery of the end of the world! Thumbs up!
One day, Maya found a box. Due to the wear and tear, a row of numbers could be seen: "20121221". Maya was very curious and took great pains to open it. He saw something light green inside, which looke
Crazy_HUA Talking
Nyquist Theorem and Shannon Theorem
1. Nyquist Theorem Nyquist Theorem, also known as Nyquist's criterion, states that in an ideal low-pass channel (no noise, limited bandwidth), the limit code element transmission rate is 2WBaud. Where
Jacktang RF/Wirelessly
Find the peak detection circuit
[i=s]This post was last edited by paulhyde on 2014-9-15 02:59[/i] I need a 3MHZ peak detection circuit. Does anyone have one? ? ?
Dolce Electronics Design Contest
Is the forum's review efficiency too low?
The post I posted on the AVR section yesterday is still under review!It wouldn't be like this if it was all manual, right?
SUNKE9 Suggestions & Announcements
What is the specific method to receive the signal of cc2530? Please give me some advice. It is available for a fee.
I'm working on a fire monitoring system using cc2530 recently. How can I receive the data collected by cc2530 to a PC? What software or equipment should I use? I've been searching for a long time and
a740187505 TI Technology Forum
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号