当前位置:网站首页>Interrupt vector table in stm32
Interrupt vector table in stm32
2022-07-22 01:24:00 【Chaosna13】
A table composed of multiple interrupt vectors is called an interrupt vector table
To figure out what is an interrupt vector table , First of all, we need to understand two questions
1、 What is an interrupt vector ?
2、 What is the content of the interrupt vector table ?
Every interrupt function has an address , This address is randomly assigned by the compiler , The address assigned to each compilation is not fixed . But due to the limitation of hardware , Interrupts can only jump to a fixed place to execute the program ( The details are not expanded ), There is a contradiction here , The address of the interrupt function is not fixed , But the interruption can only jump to a fixed place . In order to solve this contradiction , You need to define a list of addresses in memory , The address of this list is fixed , The list stores the address of the interrupt function and the program that jumps to the address of the interrupt function . When an interrupt occurs , Just jump to this fixed list , Because the list stores the address of the interrupt function and the program jumping to that address , Just execute the program to jump to the interrupt function again , So as to execute the interrupt . The list of interrupt addresses is the interrupt vector table
What is an interrupt vector ? We know , Interrupts have priority , The smaller the label , The higher the priority , Put the address of the interrupt function into an array , The subscript of the array corresponds to the priority , The subscript of the array is called the interrupt vector
边栏推荐
- Design and implementation of tcp/ip protocol stack LwIP: Part VI
- Selenium怎么上传文件,比你想的方式还多
- 罗丹明B标记肽核酸PNA|罗丹明B-PNA|生物素修饰肽核酸pna|生物素修饰pna肽核酸|规格信息
- Simple understanding of gateway
- FreeRTOS -- a method to detect the usage of task stack
- Oracle sets the maximum number of connections
- Houdini楼房刚体区域影响破碎笔记
- Design and implementation of tcp/ip protocol stack LwIP: Part VII
- mysql数据恢复
- Es installation & IK Chinese parser
猜你喜欢
[paper notes] 3D point cloud segmentation pointnet
Laike can optical transceiver solves the problem of fire networking of linked fire engines such as Fu'an fs5216/fs5116
LeetCode 10. 正则表达式匹配
Detailed explanation and typical cases of multi-agent system cluster collaborative control experimental platform
(pytorch advanced road VI) implementation of swing transformer
Es installation & IK Chinese parser
【日常训练】1260. 二维网格迁移
UnityWebGl项目总结(未完)
Appium元素定位——App自动化测试
OpenGL渲染管道
随机推荐
【学习笔记】AGC008
Mysql06(序列)
在go语言中获取当前时间,以及md5、hmac、sha1算法的简单实现
Lecture 1 Overview
Websocket transfer file
docker搭建redis及集群
七甲川染料CY7标记肽核酸PNA合成方法CY7-PNA
(pytorch advanced road VII) attention based seq2seq
Analysis of steam education benefiting primary and secondary schools
uniapp,微信小程序input正则校验只能输入为数字和小数点位数限制
Leetcode sword finger offer II 061 And the minimum K number pairs***
How to start your online life
The classification of artificial neural network includes: the classification of artificial neural network includes
多智能体系统集群协同控制实验平台详解与典型案例
XMLDecoder解析流程分析
【日常训练】1260. 二维网格迁移
47: Chapter 4: developing file services: 8: automatic image review (Alibaba cloud content security); (don't read it if you haven't written it yet; to be written...)
Software resources Encyclopedia
学会自动化必备工具-Selenium-再想着入坑自动化测试吧
uniapp 使用 u-view 框架小程序的样式问题集合