STM32中SysTick延时中断的优先级调整 |
| |
引用本文: | 郑忠楷,蒋学程,罗志灶. STM32中SysTick延时中断的优先级调整[J]. 单片机与嵌入式系统应用, 2017, 0(3): 57-59 |
| |
作者姓名: | 郑忠楷 蒋学程 罗志灶 |
| |
作者单位: | 闽江学院物理学与电子信息工程系 ,福州,350108 |
| |
摘 要: | 本文就STM32单片机的SysTick延时中断及中断处理中进行中断优先级调整进行了一些讨论,主要是在同时存在串口中断时的情况下进行研究,并具体分析了一个Delay_us()库函数和串行中断响应的程序实例.在多个中断并存的情况下,SysTick延时中断的优先级直接影响中断的CPU/系统资源占用和服务响应时间,因此对其研究很有必要.
|
关 键 词: | SysTick中断 中断优先级 单片机 延时 |
Priority Adjustment of SysTick Delay Interrupt in STM32 |
| |
Abstract: | In the paper ,the interrupt priority adjustment of STM32 MCU's SysTick delay interrupt and reponse is discussed ,in the case that the serial port interrupt at the same time happen .The Delay_us() library functions and a serial interrupt response example are ana-lyzed .In the case of themultiple interrupts coexistence ,the priority of SysTick delay interrupt directly affects the CPU/system resource usage and the service response time ,so it is necessary to study the system . |
| |
Keywords: | SysTick interrupt interrupt priority microcontroller delay |
本文献已被 万方数据 等数据库收录! |
|