| 전자부품 데이터시트 검색엔진 |
|
M38040F2HKP 데이터시트(PDF) 138 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M38040F2HKP 데이터시트(HTML) 138 Page - Renesas Technology Corp |
|
138 / 387 page ![]() 2-14 APPLICATION 2.2 Interrupt Rev.1.00 Jan 14, 2005 REJ09B0212-0100Z 3804 Group (Spec.H) (1) Processing upon acceptance of interrupt request Upon acceptance of an interrupt request, the following operations are automatically performed. ➀The processing being executed is stopped. ➁The contents of the program counter and the processor status register are pushed onto the stack area. Figure 2.2.9 shows the changes of the stack pointer and the program counter upon acceptance of an interrupt request. ➂Concurrently with the push operation, the jump destination address (the beginning address of the interrupt processing routine) of the occurring interrupt stored in the vector address is set in the program counter, then the interrupt processing routine is executed. ➃After the interrupt processing routine is started, the corresponding interrupt request bit is automatically cleared to “0”. The interrupt disable flag is set to “1” so that multiple interrupts are disabled. Accordingly, for executing the interrupt processing routine, it is necessary to set the jump destination address in the vector area corresponding to each interrupt. Fig. 2.2.9 Changes of stack pointer and program counter upon acceptance of interrupt request Interrupt disable flag = “0” Program counter Stack pointer Program counter (low-order) Program counter (high-order) PCL PCH (S) S Program counter Stack pointer PCL PCH (S) – 3 S Vector address (from Interrupt vector area) Interrupt disable flag = “1” Interrupt request is accepted Stack area (S) Processor status register Program counter (low-order) Program counter (high-order) (S) (s) – 3 Stack area |
|
링크 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 |