当前位置:网站首页>STM32 interrupt switch
STM32 interrupt switch
2022-07-03 09:52:00 【Embed it?】
Method 1
Control by bit band operation
To control the specific interruption line , change n that will do
for example :n = 1, Namely control Interrupt the line 1
#define EXx *((volatile unsigned int *)(0x42000000+((uint32_t)&EXTI->IMR-0x40000000)*32+n*4))
Method 2
Register alias operation
#define EX0_ON EXTI->IMR |= EXTI_Line0
#define EX0_OFF EXTI->IMR &= ~(EXTI_Line0)
边栏推荐
- Fundamentals of Electronic Technology (III)__ Chapter 1 resistance of parallel circuit
- MYSQL数据库底层基础专栏
- Patent inquiry website
- Intelligent home design and development
- STM32 serial communication principle
- UCI and data multiplexing are transmitted on Pusch (Part 4) --small block lengths
- Code word in NR
- Leetcode daily question (745. prefix and suffix search)
- Design and development of biological instruments
- How does the nr-prach receiver detect the relationship between prembleid and Ta
猜你喜欢
UCI and data multiplexing are transmitted on Pusch - placement of data and UCI positions (Part III)
You need to use MySQL in the opening experiment. How can you forget the basic select statement? Remedy is coming~
我想各位朋友都应该知道学习的基本规律就是:从易到难
Getting started with JMX, MBean, mxbean, mbeanserver
Nodemcu-esp8266 development (vscode+platformio+arduino framework): Part 3 --blinker_ MIOT_ Light (lighting technology app control + Xiaoai classmate control)
Nr-prach: access scenario and access process
Vector processor 9_ Basic multilevel interconnection network
[CSDN] C1 training problem analysis_ Part IV_ Advanced web
Nr-prach:prach format and time-frequency domain
Flink learning notes (VIII) multi stream conversion
随机推荐
307. Range Sum Query - Mutable
What do software test engineers do? Pass the technology to test whether there are loopholes in the software program
JMX、MBean、MXBean、MBeanServer 入门
CEF下载,编译工程
Fundamentals of Electronic Technology (III)__ Chapter 6 combinational logic circuit
Education is a pass and ticket. With it, you can step into a higher-level environment
Fundamentals of Electronic Technology (III)__ Chapter 1 resistance of parallel circuit
Flink learning notes (XI) table API and SQL
新系列单片机还延续了STM32产品家族的低电压和节能两大优势
内存数据库究竟是如何发挥内存优势的?
Solve editor MD uploads pictures and cannot get the picture address
Getting started with JMX, MBean, mxbean, mbeanserver
Runtime.getRuntime().gc() 和 Runtime.getRuntime().runFinalization() 的区别
When you need to use some functions of STM32, but 51 can't realize them, 32 naturally doesn't need to learn
Uncle Wang's blog directory [constantly updating]
numpy. Reshape() and resize() functions
Project scope management__ Scope management plan and scope specification
Leetcode daily question (2212. maximum points in an archery competition)
[CSDN] C1 training problem analysis_ Part II_ Web Foundation
【男保姆式】教你打开第一个微信小程序