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

Z8F021APH020SC 参数 Datasheet PDF下载

Z8F021APH020SC图片预览
型号: Z8F021APH020SC
PDF下载: 下载PDF文件 查看货源
内容描述: Z8喝采! XP -R 4K系列高性能8位微控制器 [Z8 Encore! XP-R 4K Series High-Performance 8-Bit Microcontrollers]
分类和应用: 微控制器和处理器外围集成电路光电二极管时钟
文件页数/大小: 276 页 / 3422 K
品牌: ZILOG [ ZILOG, INC. ]
 浏览型号Z8F021APH020SC的Datasheet PDF文件第69页浏览型号Z8F021APH020SC的Datasheet PDF文件第70页浏览型号Z8F021APH020SC的Datasheet PDF文件第71页浏览型号Z8F021APH020SC的Datasheet PDF文件第72页浏览型号Z8F021APH020SC的Datasheet PDF文件第74页浏览型号Z8F021APH020SC的Datasheet PDF文件第75页浏览型号Z8F021APH020SC的Datasheet PDF文件第76页浏览型号Z8F021APH020SC的Datasheet PDF文件第77页  
Z8 Encore! XP® 4K Series  
Product Specification  
54  
To avoid missing interrupts, use the following coding style to clear bits in the  
Interrupt Request 0 register:  
Caution:  
Good coding style that avoids lost interrupt requests:  
ANDX IRQ0, MASK  
Software Interrupt Assertion  
Program code can generate interrupts directly. Writing a 1 to the correct bit in the Interrupt  
Request register triggers an interrupt (assuming that interrupt is enabled). When the inter-  
rupt request is acknowledged by the eZ8 CPU, the bit in the Interrupt Request register is  
automatically cleared to 0.  
The following coding style used to generate software interrupts by setting bits in the In-  
terrupt Request registers is NOT recommended. All incoming interrupts received be-  
tween execution of the first LDX command and the final LDX command are lost.  
Caution:  
Poor coding style that can result in lost interrupt requests:  
LDX r0, IRQ0  
OR r0, MASK  
LDX IRQ0, r0  
To avoid missing interrupts, use the following coding style to set bits in the Interrupt Re-  
quest registers:  
Caution:  
Good coding style that avoids lost interrupt requests:  
ORX IRQ0, MASK  
Interrupt Control Register Definitions  
For all interrupts other than the Watch-Dog Timer interrupt, the Primary Oscillator Fail  
Trap, and the Watchdog Oscillator Fail Trap, the interrupt control registers enable individ-  
ual interrupts, set interrupt priorities, and indicate interrupt requests.  
Interrupt Request 0 Register  
The Interrupt Request 0 (IRQ0) register (Table 34) stores the interrupt requests for both  
vectored and polled interrupts. When a request is presented to the interrupt controller, the  
corresponding bit in the IRQ0 register becomes 1. If interrupts are globally enabled (vec-  
tored interrupts), the interrupt controller passes an interrupt request to the eZ8 CPU. If  
PS022815-0206  
Interrupt Controller  
 复制成功!