数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

M16C1N 数据表(PDF) 66 Page - Renesas Technology Corp

部件名 M16C1N
功能描述  RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
PDF  238 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  RENESAS [Renesas Technology Corp]
网页  http://www.renesas.com
标志 RENESAS - Renesas Technology Corp

M16C1N 数据表(HTML) 66 Page - Renesas Technology Corp

Back Button M16C1N Datasheet HTML 62Page - Renesas Technology Corp M16C1N Datasheet HTML 63Page - Renesas Technology Corp M16C1N Datasheet HTML 64Page - Renesas Technology Corp M16C1N Datasheet HTML 65Page - Renesas Technology Corp M16C1N Datasheet HTML 66Page - Renesas Technology Corp M16C1N Datasheet HTML 67Page - Renesas Technology Corp M16C1N Datasheet HTML 68Page - Renesas Technology Corp M16C1N Datasheet HTML 69Page - Renesas Technology Corp M16C1N Datasheet HTML 70Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 66 / 238 page
background image
Rev.1.00
Oct 20, 2004
page 54 of 222
M16C/1N Group
10. Interrupt
REJ09B0007-0100Z
10.1.5.5 Interrupt Sequence
An interrupt sequence — what are performed over a period from the instant an interrupt is ac-
cepted to the instant the interrupt routine is executed — is described here.
If an interrupt occurs during execution of an instruction, the processor determines its priority when
the execution of the instruction is completed, and transfers control to the interrupt sequence from
the next cycle. If an interrupt occurs during execution of either the SMOVB, SMOVF, SSTR or
RMPA instruction, the processor temporarily suspends the instruction being executed, and trans-
fers control to the interrupt sequence.
In the interrupt sequence, the processor carries out the following in sequence given:
(1) CPUgets the interrupt information (the interrupt number and interrupt request level) by reading
address 0000016. After this, the corresponding interrupt request bit becomes "0".
(2) Saves the content of the flag register (FLG) as it was immediately before the start of interrupt
sequence in the temporary register (Note 1) within the CPU.
(3) Sets the interrupt enable flag (I flag), the debug flag (Dflag), and the stack pointer select flag (U
______
flag) to "0" (the U flag, however, does not change if the INT instruction, in software interrupt
numbers 32 through 63, is executed).
(4) Saves the content of the temporary register (Note 1) within the CPU in the stack area.
(5) Saves the content of the program counter (PC) in the stack area.
(6) Sets the interrupt priority level of the accepted instruction in the IPL.
After the interrupt sequence is completed, the processor resumes executing instructions from the
first address of the interrupt routine.
Note 1: This register cannot be utilized by the user.
Figure 10.4 shows the time required for executing interrupt sequence.
Indeterminate
12
34
5
6
7
8
9
10
11
12
13
14
15
16
17
18
The indeterminate segment is dependent on the queue buffer.
If the queue buffer is ready to take an instruction, a read cycle occurs.
Indeterminate
SP-2
contents
SP-4
contents
vec
contents
vec+2
contents
Interrupt
information
Address
0000016
Indeterminate
SP-2
SP-4
vec
vec+2
PC
BCLK
Address bus
Data bus
W
R
Figure 10.4 Time required for executing interrupt sequence



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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