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

W90N745CDG 参数 Datasheet PDF下载

W90N745CDG图片预览
型号: W90N745CDG
PDF下载: 下载PDF文件 查看货源
内容描述: 16位/ 32位ARM微控制器 [16/32-bit ARM microcontroller]
分类和应用: 微控制器和处理器外围集成电路时钟
文件页数/大小: 422 页 / 2455 K
品牌: WINBOND [ WINBOND ]
 浏览型号W90N745CDG的Datasheet PDF文件第301页浏览型号W90N745CDG的Datasheet PDF文件第302页浏览型号W90N745CDG的Datasheet PDF文件第303页浏览型号W90N745CDG的Datasheet PDF文件第304页浏览型号W90N745CDG的Datasheet PDF文件第306页浏览型号W90N745CDG的Datasheet PDF文件第307页浏览型号W90N745CDG的Datasheet PDF文件第308页浏览型号W90N745CDG的Datasheet PDF文件第309页  
W90N745CD/W90N745CDG  
Interrupt Masking  
Each interrupt source, including FIQ, can be enabled or disabled individually by using the command  
registers AIC_MECR and AIC_MDCR. The status of interrupt mask can be read in the read only  
register AIC_IMR. A disabled interrupt doesn’t affect the servicing of other interrupts.  
Interrupt Clearing and Setting  
All interrupt sources (including FIQ) can be individually set or clear by respectively writing to the  
registers AIC_SSCR and AIC_SCCR when they are programmed to be edge triggered. This feature of  
the AIC is useful in auto-testing or software debugging.  
Fake Interrupt  
When the AIC asserts the nIRQ line, the processor enters interrupt mode and the interrupt handler  
reads the AIC_IPER, it may happen that AIC de-asserts the nIRQ line after the processor has taken  
into account the nIRQ assertion and before the read of the AIC_IPER.  
This behavior is called a fake interrupt.  
The AIC is able to detect these fake interrupts and returns all zero when AIC_IPER is read. The same  
mechanism of fake interrupt occurs if the processor reads the AIC_IPER (application software or ICE)  
when there is no interrupt pending. The current priority level is not updated in this situation. Hence, the  
AIC_EOSCR shouldn’t be written.  
ICE/Debug Mode  
This mode allows reading of the AIC_IPER without performing the associated automatic operations.  
This is necessary when working with a debug system. When an ICE or debug monitor reads the AIC  
user interface, the AIC_IPER can be read. This has the following consequences in normal mode:  
y
y
If there is no enabled pending interrupt, the fake vector will be returned.  
If an enabled interrupt with a higher priority than the current one is pending, it will  
be stacked.  
In the second case, an End-of-Service command would be necessary to restore the state of the AIC.  
This operation is generally not performed by the debug system. Therefore, the debug system would  
become strongly intrusive, and could cause the application to enter an undesired state.  
This can be avoided by using ICE/Debug Mode. When this mode is enabled. The AIC performs  
interrupt stacking only when a write access is performed on the AIC_IPER. Hence, the interrupt  
service routine must write to the AIC_IPER (any value) just after reading it. When AIC_IPER is written,  
the new status of AIC, including the value of interrupt source number register (AIC_ISNR), is updated  
with the value that is kept at previous reading of AIC_IPER The debug system must not write to the  
AIC_IPER as this would cause undesirable effects.  
The following table shows the main steps of an interrupt and the order in which they are performed  
according to the mode:  
- 300 -  
 复制成功!