当前位置:网站首页>0 basic learning C language - interrupt
0 basic learning C language - interrupt
2022-07-06 22:20:00 【If life is just like the first time 645】
List of articles
One 、 The concept of interruption
CPU Dealing with an event A when , Another incident happened B Request to be dealt with quickly ( Interruption occurs )
CPU Temporarily interrupt the current work , Go ahead and deal with the incident B( Interrupt response and interrupt service )
stay CPU Put the event B After processing , Back to the original event A Continue to deal with the event where it was interrupted A( Interrupt return ), This process is called interruption .
Two 、 Interrupt structure

3、 ... and 、 Interrupt request flag
1. Counter / Interrupt flag of timer control register

2. Serial port interrupt flag

Four 、 Interrupt priority
1. priority

2. Interruption principle

3. Interruption conditions

5、 ... and 、 Interrupt the program
1. Turn on interrupt

2. Write interrupt subfunction

6、 ... and 、 timing / The counter is interrupted
1. timing / The structure of the counter


2. timing / How the counter works

3. timing / Control of counter

1. Working mode register TMOD



Example method 1
2. Control register TCON

- One of the top four TF0 and TF1 It is automatically controlled by single chip microcomputer , You don't have to worry about
- TR1

- TR0

4. timing / Counter application
1. Use steps

2. Practical application

边栏推荐
- Learn the principle of database kernel from Oracle log parsing
- Qt | UDP广播通信、简单使用案例
- China 1,4-cyclohexanedimethanol (CHDM) industry research and investment decision-making report (2022 Edition)
- Seata aggregates at, TCC, Saga and XA transaction modes to create a one-stop distributed transaction solution
- Shortcut keys in the terminal
- Problems in the process of opencv300 cmake generating project
- LeetCode学习记录(从新手村出发之杀不出新手村)----1
- GPS from getting started to giving up (XV), DCB differential code deviation
- Kohana database
- NetXpert XG2帮您解决“布线安装与维护”难题
猜你喜欢

C#实现水晶报表绑定数据并实现打印4-条形码

LeetCode刷题(十一)——顺序刷题51至55

Adjustable DC power supply based on LM317

2020 Bioinformatics | GraphDTA: predicting drug target binding affinity with graph neural networks

小满网络模型&http1-http2 &浏览器缓存

搜素专题(DFS )

Data processing skills (7): MATLAB reads the data in the text file TXT with mixed digital strings

【sciter】: 基于 sciter 封装通知栏组件

CCNA-思科网络 EIGRP协议

PVL EDI 项目案例
随机推荐
基于LM317的可调直流电源
GPS从入门到放弃(十五)、DCB差分码偏差
GPS from getting started to giving up (12), Doppler constant speed
China 1,4-cyclohexanedimethanol (CHDM) industry research and investment decision-making report (2022 Edition)
LeetCode刷题(十一)——顺序刷题51至55
414. The third largest digital buckle
GPS from getting started to giving up (XV), DCB differential code deviation
GPS从入门到放弃(十一)、差分GPS
Barcodex (ActiveX print control) v5.3.0.80 free version
C # réalise la liaison des données du rapport Crystal et l'impression du Code à barres 4
中国固态氧化物燃料电池技术进展与发展前景报告(2022版)
硬件开发笔记(十): 硬件开发基本流程,制作一个USB转RS232的模块(九):创建CH340G/MAX232封装库sop-16并关联原理图元器件
AI enterprise multi cloud storage architecture practice | Shenzhen potential technology sharing
Xiaoman network model & http1-http2 & browser cache
How does the uni admin basic framework close the creation of super administrator entries?
MongoDB(三)——CRUD
GPS from entry to abandonment (XVII), tropospheric delay
Lora sync word settings
BarcodeX(ActiveX打印控件) v5.3.0.80 免费版使用
嵌入式常用计算神器EXCEL,欢迎各位推荐技巧,以保持文档持续更新,为其他人提供便利