当前位置:网站首页>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
边栏推荐
- 中国固态氧化物燃料电池技术进展与发展前景报告(2022版)
- Management background --1 Create classification
- GPS from getting started to giving up (XI), differential GPS
- Memorabilia of domestic database in June 2022 - ink Sky Wheel
- GPS从入门到放弃(二十)、天线偏移
- 【sciter】: 基于 sciter 封装通知栏组件
- 硬件開發筆記(十): 硬件開發基本流程,制作一個USB轉RS232的模塊(九):創建CH340G/MAX232封裝庫sop-16並關聯原理圖元器件
- Oracle control file and log file management
- i.mx6ull搭建boa服务器详解及其中遇到的一些问题
- 经纪xx系统节点VIP案例介绍和深入分析异常
猜你喜欢
The nearest common ancestor of binary (search) tree ●●
Unity3d Learning Notes 6 - GPU instantiation (1)
关于程序员的职业操守,从《匠艺整洁之道》谈起
CCNA-思科网络 EIGRP协议
小常识:保险中的“保全”是什么?
【sciter】: 基于 sciter 封装通知栏组件
[10:00 public class]: basis and practice of video quality evaluation
C#实现水晶报表绑定数据并实现打印4-条形码
LeetCode刷题(十一)——顺序刷题51至55
Leetcode learning records (starting from the novice village, you can't kill out of the novice Village) ---1
随机推荐
NetXpert XG2帮您解决“布线安装与维护”难题
十二、启动流程
The nearest common ancestor of binary (search) tree ●●
[10:00 public class]: basis and practice of video quality evaluation
【sdx62】WCN685X将bdwlan.bin和bdwlan.txt相互转化操作方法
Codeforces Round #274 (Div. 2) –A Expression
做接口测试都测什么?有哪些通用测试点?
保存和检索字符串
MySQL related terms
Make menuconfig has a recipe for target 'menuconfig' failed error
Leetcode learning records (starting from the novice village, you can't kill out of the novice Village) ---1
微信红包封面小程序源码-后台独立版-带测评积分功能源码
Save and retrieve strings
设置状态栏样式Demo
嵌入式常用计算神器EXCEL,欢迎各位推荐技巧,以保持文档持续更新,为其他人提供便利
Unity3d Learning Notes 6 - GPU instantiation (1)
Kohana 数据库
Seata aggregates at, TCC, Saga and XA transaction modes to create a one-stop distributed transaction solution
Write a rotation verification code annotation gadget with aardio
anaconda安装第三方包