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

Z8FMC04100QKSG 参数 Datasheet PDF下载

Z8FMC04100QKSG图片预览
型号: Z8FMC04100QKSG
PDF下载: 下载PDF文件 查看货源
内容描述: Z8喝采-R电机控制闪存MCU [Z8 Encore-R Motor Control Flash MCUs]
分类和应用: 闪存微控制器和处理器外围集成电路电机时钟
文件页数/大小: 402 页 / 4558 K
品牌: ZILOG [ ZILOG, INC. ]
 浏览型号Z8FMC04100QKSG的Datasheet PDF文件第73页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第74页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第75页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第76页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第78页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第79页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第80页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第81页  
Z8FMC16100 Series Flash MCU  
Product Specification  
55  
To avoid missing interrupts, ZiLOG recommends the following style of coding to clear  
bits in the Interrupt Request 0 Register:  
ANDX IRQ0, MASK  
Software Interrupt Assertion  
Program code can generate interrupts directly. Writing a 1 to the appropriate bit in the  
Interrupt Request Register triggers an interrupt (assuming that interrupt is enabled). This  
bit is automatically cleared when the eZ8 CPU vectors to the Interrupt Service Routine  
(ISR).  
The following style of coding to generate software interrupts by setting bits in the Inter-  
rupt Request registers is not recommended. All incoming interrupts that are received be-  
tween execution of the first LDX command and the last LDX command are lost.  
Caution:  
The following code segment is an example of a poor coding style that can result in lost  
interrupt requests:  
LDX r0, IRQ0  
OR r0, MASK  
LDX IRQ0, r0  
To avoid missing interrupts, ZiLOG recommends the following style of coding to set  
bits in the Interrupt Request registers:  
ORX IRQ0, MASK  
Interrupt Control Register Definitions  
The interrupt control registers enable individual interrupts, set interrupt priorities, and  
indicate interrupt requests.  
Interrupt Request 0 Register  
The Interrupt Request 0 (IRQ0) Register, shown in Table 30, stores the interrupt requests  
for both vectored and polled interrupts. When a request is presented to the interrupt con-  
troller, the corresponding bit in the IRQ0 register becomes 1. If interrupts are globally  
enabled (vectored interrupts), the interrupt controller passes an interrupt request to the eZ8  
CPU. If interrupts are globally disabled (polled interrupts), the eZ8 CPU can read the  
Interrupt Request 0 register to determine if any interrupt requests are pending.  
PS024604-1005  
P R E L I M I N A R Y  
Software Interrupt Assertion  
 复制成功!