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

HD64F3337YF16 参数 Datasheet PDF下载

HD64F3337YF16图片预览
型号: HD64F3337YF16
PDF下载: 下载PDF文件 查看货源
内容描述: 单片机 [Single-Chip Microcomputer]
分类和应用: 微控制器和处理器外围集成电路
文件页数/大小: 747 页 / 2993 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号HD64F3337YF16的Datasheet PDF文件第106页浏览型号HD64F3337YF16的Datasheet PDF文件第107页浏览型号HD64F3337YF16的Datasheet PDF文件第108页浏览型号HD64F3337YF16的Datasheet PDF文件第109页浏览型号HD64F3337YF16的Datasheet PDF文件第111页浏览型号HD64F3337YF16的Datasheet PDF文件第112页浏览型号HD64F3337YF16的Datasheet PDF文件第113页浏览型号HD64F3337YF16的Datasheet PDF文件第114页  
4.3.3  
External Interrupts  
The nine external interrupts are NMI and IRQ0 to IRQ7. NMI, IRQ0, IRQ1, IRQ2, and IRQ6 can be  
used to recover from software standby mode.  
NMI: A nonmaskable interrupt is generated on the rising or falling edge of the NMI input signal  
regardless of whether the I (interrupt mask) bit is set in the CCR. The valid edge is selected by the  
NMIEG bit in the system control register. The NMI vector number is 3. In the NMI hardware  
exception-handling sequence the I bit in the CCR is set to 1.  
IRQ0 to IRQ7: These interrupt signals are level-sensed or sensed on the falling edge of the input,  
as selected by ISCR bits IRQ0SC to IRQ7SC. These interrupts can be masked collectively by the I  
bit in the CCR, and can be enabled and disabled individually by setting and clearing bits IRQ0E to  
IRQ7E in the IRQ enable register.  
The IRQ6 input signal can be logically ORed internally with the key sense input signals. When  
KEYIN0 to KEYIN7 pins (P60 to P67) are used for key sense input, the corresponding KMIMR bits  
should be cleared to 0 to enable the corresponding key sense input interrupts. KMIMR bits  
corresponding to unused key sense inputs should be set to 1 to disable the interrupts. All 8 key  
sense input interrupts are combined into a single IRQ6 interrupt.  
When one of these interrupts is accepted, the I bit is set to 1. IRQ0 to IRQ7 have interrupt vector  
numbers 4 to 11. They are prioritized in order from IRQ7 (low) to IRQ0 (high). For details, see  
table 4.2.  
Interrupts IRQ0 to IRQ7 do not depend on whether pins IRQ0 to IRQ7 are input or output pins.  
When using external interrupts IRQ0 to IRQ7, clear the corresponding DDR bits to 0 to set these  
pins to the input state, and do not use these pins as input or output pins for the timers, serial  
communication interface, or A/D converter.  
4.3.4  
Internal Interrupts  
Twenty-six (H8/3337 Series) or twenty-three (H8/3397 Series) internal interrupts can be requested  
by the on-chip supporting modules. Each interrupt source has its own vector number, so the  
interrupt-handling routine does not have to determine which interrupt has occurred. All internal  
interrupts are masked when the I bit in the CCR is set to 1. When one of these interrupts is  
accepted, the I bit is set to 1 to mask further interrupts (except NMI). The vector numbers are 12 to  
37. For the priority order, see table 4.2.  
80  
 复制成功!