| 전자부품 데이터시트 검색엔진 |
|
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 |
|
링크 URL |
| 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 |