| 数据搜索系统,热门电子元器件搜索 |
|
RM0312 数据表(PDF) 42 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0312 数据表(HTML) 42 Page - STMicroelectronics |
|
42 / 275 page ![]() Interrupt controller (ITC) RM0312 42/275 DocID022352 Rev 3 See Figure 7 for a description of pending interrupt servicing process. Figure 7. Priority decision process 5.2.2 Interrupt sources Two interrupt source types are managed by the STM8 interrupt controller: • Non-maskable interrupts: RESET and TRAP • Maskable interrupts: external interrupts or interrupts issued by internal peripherals Non-maskable interrupt sources Non-maskable interrupt sources are processed regardless of the state of bits I1 and I0 of the CCR register (see Figure 6). PC, X, Y, A and CCR registers are stacked only when a TRAP interrupt occurs. The corresponding vector is then loaded in the PC register and bits I1 and I0 of the CCR register are set to disable interrupts (level 3). • TRAP (non-maskable software interrupt) This software interrupt source is serviced when the TRAP instruction is executed. It is serviced according to the flowchart shown in Figure 6. A TRAP interrupt does not allow the processor to exit from Halt mode. • RESET The RESET interrupt source has the highest STM8 software and hardware priorities. This means that all the interrupts are disabled at the beginning of the reset routine. They must be re-enabled by the RIM instruction (see Table 12: Dedicated interrupt instruction set). A RESET interrupt allows the processor to exit from Halt mode. See RESET chapter for more details on RESET interrupt management. PENDING SOFTWARE Different INTERRUPTS Same HIGHEST HARDWARE PRIORITY SERVICED PRIORITY HIGHEST SOFTWARE PRIORITY SERVICED |
|
链接网址 |
| 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 |