Traditional Culture Encyclopedia - Traditional festivals - What are the advantages disadvantages and characteristics of C51 microcontroller interrupts respectively
What are the advantages disadvantages and characteristics of C51 microcontroller interrupts respectively
Traditional microcontroller interrupts five. Including two external interrupts (int0,int1), three timing interrupts (t2,t1,t0), and a serial port interrupt (uart).
Features:Simple and intuitive, easy to control Advantages
Advantages:
Fast response, level- and clock-triggered interrupts, counting interrupts, timing interrupts, interrupts from serial port data, sleep interrupts wake-up mode interrupts.
Disadvantages:
Only a single-task mechanism can be used, the program can only be executed in sequential order, the lack of flexibility, you can only use the interrupt function in real time to deal with a number of shorter tasks, the use of more complex applications is extremely inconvenient.
- Related articles
- In Xuchang, Henan, there are seven quiet and beautiful ancient villages and towns, looking for scenery with long stories.
- Dushan composition in hometown
- Moon Folk Custom in Tomb-Sweeping Day in Qing Dynasty
- What crafts are fun?
- 中国的四个传统节日是什么?
- The difference between e-commerce and logistics
- Lantern Festival composition
- What is the explanation of tripod?
- There are essays on the folkways and customs of the Miao people
- How did the pattern of intensive cultivation in ancient China come into being?