当前位置:网站首页>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从入门到放弃(十九)、精密星历(sp3格式)
- i.mx6ull搭建boa服务器详解及其中遇到的一些问题
- GPS from getting started to giving up (XX), antenna offset
- C # realizes crystal report binding data and printing 4-bar code
- UNI-Admin基础框架怎么关闭创建超级管理员入口?
- 第3章:类的加载过程(类的生命周期)详解
- Bat script learning (I)
- GPS from getting started to giving up (XIII), receiver autonomous integrity monitoring (RAIM)
- GPS from getting started to giving up (XVIII), multipath effect
- 【10点公开课】:视频质量评价基础与实践
猜你喜欢
How does the uni admin basic framework close the creation of super administrator entries?
Management background --4, delete classification
Notes de développement du matériel (10): flux de base du développement du matériel, fabrication d'un module USB à RS232 (9): création de la Bibliothèque d'emballage ch340g / max232 SOP - 16 et Associa
Leetcode learning records (starting from the novice village, you can't kill out of the novice Village) ---1
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
Barcodex (ActiveX print control) v5.3.0.80 free version
3DMax指定面贴图
墨西哥一架飞往美国的客机起飞后遭雷击 随后安全返航
Bat script learning (I)
ResNet-RS:谷歌领衔调优ResNet,性能全面超越EfficientNet系列 | 2021 arxiv
随机推荐
Seata聚合 AT、TCC、SAGA 、 XA事务模式打造一站式的分布式事务解决方案
GPS from getting started to giving up (19), precise ephemeris (SP3 format)
Solve project cross domain problems
Some problems about the use of char[] array assignment through scanf..
GPS from entry to abandonment (XIV), ionospheric delay
Wechat red envelope cover applet source code - background independent version - source code with evaluation points function
Kohana 数据库
硬件开发笔记(十): 硬件开发基本流程,制作一个USB转RS232的模块(九):创建CH340G/MAX232封装库sop-16并关联原理图元器件
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
Unity3D学习笔记6——GPU实例化(1)
Anaconda installs third-party packages
3DMAX assign face map
二叉(搜索)树的最近公共祖先 ●●
Assembly and Interface Technology Experiment 6 - ADDA conversion experiment, AD acquisition system in interrupt mode
Set status bar style demo
2500 common Chinese characters + 130 common Chinese and English characters
CCNA-思科网络 EIGRP协议
Make menuconfig has a recipe for target 'menuconfig' failed error
Assembly and interface technology experiment 5-8259 interrupt experiment
NetXpert XG2帮您解决“布线安装与维护”难题