欢迎访问ic37.com |
会员登录 免费注册
发布采购

NANO127SC1AN 参数 Datasheet PDF下载

NANO127SC1AN图片预览
型号: NANO127SC1AN
PDF下载: 下载PDF文件 查看货源
内容描述: [ARM® Cortex®-M 32-bit Microcontroller]
分类和应用: 微控制器
文件页数/大小: 95 页 / 2021 K
品牌: NUVOTON [ NUVOTON ]
 浏览型号NANO127SC1AN的Datasheet PDF文件第53页浏览型号NANO127SC1AN的Datasheet PDF文件第54页浏览型号NANO127SC1AN的Datasheet PDF文件第55页浏览型号NANO127SC1AN的Datasheet PDF文件第56页浏览型号NANO127SC1AN的Datasheet PDF文件第58页浏览型号NANO127SC1AN的Datasheet PDF文件第59页浏览型号NANO127SC1AN的Datasheet PDF文件第60页浏览型号NANO127SC1AN的Datasheet PDF文件第61页  
Nano100(A)  
5.3 Nested Vectored Interrupt Controller (NVIC)  
5.3.1 Overview  
Cortex-M0 provides an interrupt controller as an integral part of the exception mode, named as  
“Nested Vectored Interrupt Controller (NVIC)”. It is closely coupled to the processor kernel and  
provides following features:  
5.3.2 Features  
Nested and Vectored interrupt support  
Automatic processor state saving and restoration  
Dynamic priority changing  
Reduced and deterministic interrupt latency  
The NVIC prioritizes and handles all supported exceptions. All exceptions are handled in “Handler  
Mode”. This NVIC architecture supports 32 (IRQ[31:0]) discrete interrupts with 4 levels of priority.  
All of the interrupts and most of the system exceptions can be configured to different priority  
levels. When an interrupt occurs, the NVIC will compare the priority of the new interrupt to the  
current running one’s priority. If the priority of the new interrupt is higher than the current one, the  
new interrupt handler will override the current handler.  
When any interrupts is accepted, the starting address of the interrupt service routine (ISR) is  
fetched from a vector table in memory. There is no need to determine which interrupt is accepted  
and branch to the starting address of the correlated ISR by software. While the starting address is  
fetched, NVIC will also automatically save processor state including the registers “PC, PSR, LR,  
R0~R3, R12” to the stack. At the end of the ISR, the NVIC will restore the mentioned registers  
from stack and resume the normal execution. Thus it will take less and deterministic time to  
process the interrupt request.  
The NVIC supports “Tail Chaining” which handles back-to-back interrupts efficiently without the  
overhead of states saving and restoration and therefore reduces delay time in switching to  
pending ISR at the end of current ISR. The NVIC also supports “Late Arrival” which improves the  
efficiency of concurrent ISRs. When a higher priority interrupt request occurs before the current  
ISR starts to execute (at the stage of state saving and starting address fetching), the NVIC will  
give priority to the higher one without delay penalty. Thus it advances the real-time capability.  
For more detailed information, please refer to the “ARM® Cortex™-M0 Technical Reference  
Manual” and “ARM® v6-M Architecture Reference Manual”.  
Mar 31, 2015  
Page 57 of 95  
Revision V1.00  
 复制成功!