当前位置:网站首页>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
边栏推荐
- GPS from getting started to giving up (16), satellite clock error and satellite ephemeris error
- Anaconda installs third-party packages
- How does the uni admin basic framework close the creation of super administrator entries?
- GPS from getting started to giving up (12), Doppler constant speed
- GPS from entry to abandonment (XVII), tropospheric delay
- 中国1,4-环己烷二甲醇(CHDM)行业调研与投资决策报告(2022版)
- [线性代数] 1.3 n阶行列式
- AI enterprise multi cloud storage architecture practice | Shenzhen potential technology sharing
- C # réalise la liaison des données du rapport Crystal et l'impression du Code à barres 4
- ZABBIX proxy server and ZABBIX SNMP monitoring
猜你喜欢
labelimg的安装与使用
Earned value management EVM detailed explanation and application, example explanation
GPS从入门到放弃(十六)、卫星时钟误差和卫星星历误差
Classic sql50 questions
Barcodex (ActiveX print control) v5.3.0.80 free version
Hardware development notes (10): basic process of hardware development, making a USB to RS232 module (9): create ch340g/max232 package library sop-16 and associate principle primitive devices
zabbix 代理服务器 与 zabbix-snmp 监控
About the professional ethics of programmers, let's talk about it from the way of craftsmanship and neatness
ResNet-RS:谷歌领衔调优ResNet,性能全面超越EfficientNet系列 | 2021 arxiv
硬件開發筆記(十): 硬件開發基本流程,制作一個USB轉RS232的模塊(九):創建CH340G/MAX232封裝庫sop-16並關聯原理圖元器件
随机推荐
【MySQL】Online DDL详解
Solve project cross domain problems
GPS from getting started to giving up (XI), differential GPS
3DMAX assign face map
【sciter Bug篇】多行隐藏
十二、启动流程
LeetCode学习记录(从新手村出发之杀不出新手村)----1
Kohana 数据库
Hardware development notes (10): basic process of hardware development, making a USB to RS232 module (9): create ch340g/max232 package library sop-16 and associate principle primitive devices
中国固态氧化物燃料电池技术进展与发展前景报告(2022版)
Applet system update prompt, and force the applet to restart and use the new version
GPS from getting started to giving up (XVIII), multipath effect
经纪xx系统节点VIP案例介绍和深入分析异常
2500个常用中文字符 + 130常用中英文字符
AI enterprise multi cloud storage architecture practice | Shenzhen potential technology sharing
BarcodeX(ActiveX打印控件) v5.3.0.80 免费版使用
[MySQL] online DDL details
嵌入式常用计算神器EXCEL,欢迎各位推荐技巧,以保持文档持续更新,为其他人提供便利
Codeforces Round #274 (Div. 2) –A Expression
中国1,4-环己烷二甲醇(CHDM)行业调研与投资决策报告(2022版)