| 数据搜索系统,热门电子元器件搜索 |
|
H8/3021 数据表(PDF) 100 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3021 数据表(HTML) 100 Page - Renesas Technology Corp |
|
100 / 712 page ![]() 4. Exception Handling Rev.2.00 Mar. 22, 2007 Page 76 of 684 REJ09B0352-0200 4.2.3 Interrupts after Reset If an interrupt is accepted after a reset but before the stack pointer (SP) is initialized, PC and CCR will not be saved correctly, leading to a program crash. To prevent this, all interrupt requests, including NMI, are disabled immediately after a reset. The first instruction of the program is always executed immediately after the reset state ends. This instruction should initialize the stack pointer (example: MOV.L #xx:32, SP). 4.3 Interrupts Interrupt exception handling can be requested by five external sources (NMI, IRQ 0, IRQ1, IRQ4, IRQ 5) and 25 internal sources in the on-chip supporting modules. Figure 4.3 classifies the interrupt sources and indicates the number of interrupts of each type. The on-chip supporting modules that can request interrupts are the watchdog timer (WDT), 16-bit integrated timer unit (ITU), serial communication interface (SCI), and A/D converter. Each interrupt source has a separate vector address. NMI is the highest-priority interrupt and is always accepted. Interrupts are controlled by the interrupt controller. The interrupt controller can assign interrupts other than NMI to two priority levels, and arbitrate between simultaneous interrupts. Interrupt priorities are assigned in interrupt priority registers A and B (IPRA and IPRB) in the interrupt controller. For details on interrupts see section 5, Interrupt Controller. Interrupts External interrupts Internal interrupts NMI (1) IRQ , IRQ , IRQ , IRQ (4) WDT* (1) ITU (15) SCI (8) A/D converter (1) Notes: * When the watchdog timer is used as an interval timer, it generates an interrupt request at every counter overflow. 0 1 4 5 Numbers in parentheses are the number of interrupt sources. Figure 4.3 Interrupt Sources and Number of Interrupts |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |