logo Training

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

Total of 1 lesson ,4 minutes and 32 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 while the program is executing
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

Good stuff to share with you
I wish you all a happy learning!
zhuizhu12345 DSP and ARM Processors
Instructions on data transfer between arm and coprocessor registers
Today, I encountered the mcr and mrc instructions while reading the bootloader. I had never come across them before, so I checked the documentation to understand them. Both the mcr and mrc instruction
呱呱 ARM Technology
Design of Battery Charger Using Mixed-Signal Approach
As battery-powered electronic devices become more widely used and more powerful, the need for battery charger designs with good applicability has also emerged. If only standard components are used, ba
jimmyjf Power technology
Please help me figure out why after the water light starts cycling from left to right at the beginning of this program, other buttons don't work
#include #include #define GPI0_LED P0 #define GPI0_KEY P1 void Delay10ms(unsigned int c); unsigned char Key_Scan(); void LED1(); void LED2(); void LED3(); void LED4(); void LED5(); void LED6(); void L
xinxinxin2015 51mcu
[RVB2601 Creative Application Development] Infrared Device Control
In the project, we plan to use infrared control equipment, so this article introduces how to write and send infrared equipment protocols. The following is based on the standard NEC infrared protocol.
流行科技 XuanTie RISC-V Activity Zone
How to Get PCB Pin Density
Can I directly get the average pin density of a PCB board in Altium Designer?
dianzinihao PCB Design
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号