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

Problems in DC motor control circuit
I have a question for you experts about the circuit diagram. Can a 12V car battery generate 30A of current on the IRF3205 MOS tube? The driver IC I chose is mc33883. In other words, can I directly con
linda_xia Analog electronics
[Nucleo experience] +OLED display heart rate
This time I took some time to continue the last experiment ([url=https://en.eeworld.com/bbs/thread-448913-1-2.html]【Nucleo Experience】+Pulse Heart Rate Monitoring Experiment[/url]) I have a 0.96-inch
anning865 stm32/stm8
DSP naming conventions such as TMS320C6416GLZ
Where can I find the naming conventions for DSPs, such as TMS320C6416GLZ and TMS320C6416TCLZ?
yangyw DSP and ARM Processors
Basic requirements for DSP to work properly
1) The DSP power and ground connections are correct. 2) The DSP clock is correct. 3) The main control signals of the DSP, such as RS and HOLD signals, are connected to a high level. 4) The watchdog of
Aguilera DSP and ARM Processors
Good news from Guoxin: Approved to acquire Japanese chip semiconductor lithography machine Pioneer Micro Technology
On August 24, Yingtang Zhikong said on the interactive platform that Pioneer Micro Technology's own production equipment includes Japanese-made lithography equipment, and its acquisition has been appr
eric_wang Domestic Chip Exchange
What is the difference between the "Stellaris Serial Flash Loader" and the "Stellaris Boot Loader"?
Stellaris Serial Flash LoaderAll Stellaris microcontrollers that do not have a ROM boot loader come with a royalty-free Serial Flash Loader pre-programmed into the flash memory. The Serial Flash Loade
academic 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号