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

HD6473434F16 参数 Datasheet PDF下载

HD6473434F16图片预览
型号: HD6473434F16
PDF下载: 下载PDF文件 查看货源
内容描述: 12伏不能应用于S -掩模模型(单电源规格) ,因为这可能会永久损坏设备。 [12 V must not be applied to the S-mask model (single-power-supply specification), as this may permanently damage the device.]
分类和应用: 外围集成电路微控制器可编程只读存储器时钟
文件页数/大小: 752 页 / 2557 K
品牌: HITACHI [ HITACHI SEMICONDUCTOR ]
 浏览型号HD6473434F16的Datasheet PDF文件第93页浏览型号HD6473434F16的Datasheet PDF文件第94页浏览型号HD6473434F16的Datasheet PDF文件第95页浏览型号HD6473434F16的Datasheet PDF文件第96页浏览型号HD6473434F16的Datasheet PDF文件第98页浏览型号HD6473434F16的Datasheet PDF文件第99页浏览型号HD6473434F16的Datasheet PDF文件第100页浏览型号HD6473434F16的Datasheet PDF文件第101页  
4.2.3  
Disabling of Interrupts after Reset  
After a reset, if an interrupt were to be accepted before initialization of the stack pointer (SP: R7),  
the program counter and condition code register might not be saved correctly, leading to a  
program crash. To prevent this, all interrupts, including NMI, are disabled immediately after a  
reset. The first program instruction is therefore always executed. This instruction should initialize  
the stack pointer (example: MOV.W #xx:16, SP).  
After reset exception handling, in order to initialize the contents of CCR, a CCR manipulation  
instruction can be executed before an instruction to initialize the stack pointer. Immediately after  
execution of a CCR manipulation instruction, all interrupts including NMI are disabled. Use the  
next instruction to initialize the stack pointer.  
4.3  
Interrupts  
4.3.1  
Overview  
The interrupt sources include nine external sources from 23 input pins (NMI, IRQ0 to IRQ7, and  
KEYIN0 to KEYIN15), and 26 internal sources in the on-chip supporting modules. Table 4.2 lists  
the interrupt sources in priority order and gives their vector addresses. When two or more  
interrupts are requested, the interrupt with highest priority is served first.  
The features of these interrupts are:  
NMI has the highest priority and is always accepted. All internal and external interrupts except  
NMI can be masked by the I bit in the CCR. When the I bit is set to 1, interrupts other than  
NMI are not accepted.  
IRQ0 to IRQ7 can be sensed on the falling edge of the input signal, or level-sensed. The type of  
sensing can be selected for each interrupt individually. NMI is edge-sensed, and either the  
rising or falling edge can be selected.  
All interrupts are individually vectored. The software interrupt-handling routine does not have  
to determine what type of interrupt has occurred.  
IRQ6 is multiplexed with 16 external sources (KEYIN0 to KEYIN15). KEYIN0 to KEYIN15 can  
be masked individually by user software.  
The watchdog timer can generate either an NMI or overflow interrupt, depending on the needs  
of the application. For details, see section 11, Watchdog Timer.  
68  
 复制成功!