Electronic Components Datasheet Search
  English  ▼

X  

R5F3640MNFB Datasheet(PDF) 137 Page - Renesas Technology Corp

Part # R5F3640MNFB
Description  RENESAS MCU M16C FAMILY / M16C/60 SERIES
PDF  398 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R5F3640MNFB Datasheet(HTML) 137 Page - Renesas Technology Corp

Back Button R5F3640MNFB Datasheet HTML 133Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 134Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 135Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 136Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 137Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 138Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 139Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 140Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 141Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 137 / 398 page
background image
REJ09B0392-0064 Rev.0.64
Oct 12, 2007
Page 116 of 373
Under development
Preliminary Specification
Specification in this preliminary version is subject to change.
M16C/64 Group
12. Interrupt
12.9
Address Match Interrupt
An address match interrupt is generated immediately before executing the instruction at the address indi-
cated by the RMADi register (i = 0 to 3). Set the start address of any instruction in the RMADi register.
Use bits AIER0 and AIER1 in the AIER register and bits AIER20 and AIER21 in the AIER2 register to
enable or disable the interrupt. Note that the address match interrupt is unaffected by the I flag and IPL.
When address match interrupt requests are acknowledged, the value of the PC that is saved to the stack
area (refer to 12.5.7 “Saving Registers”) varies depending on the instruction at the address indicated by
the RMADi register (The value of the PC that is saved to the stack area is not the correct return address.)
Therefore, follow one of the methods described below to return from the address match interrupt.
• Rewrite the content of the stack and then use the REIT instruction to return.
• Restore the stack to its previous state before the interrupt request was accepted by using the POP or
similar other instruction and then use a jump instruction to return.
Table 12.7 shows the Value of the PC That Is Saved to the Stack Area When an Address Match Interrupt
Request is Accepted. Note that when using the external bus in 8 bits width, no address match interrupts
can be used for external areas.
Figure 12.14 shows Registers AIER, AIER2, and RMAD0 to RMAD3.
NOTE:
Value of the PC that is saved to the stack area: Refer to 12.5.7 “Saving Registers”.
Table 12.7
Value of the PC That Is Saved to the Stack Area When an Address Match Interrupt
Request is Accepted
Instruction at the Address Indicated by the RMADi Register
Value of the PC that is
saved to the stack area
16-bit op-code instruction
Instruction shown below among 8-bit operation code instructions
ADD.B:S
#IMM8, dest SUB.B:S #IMM8, dest AND.B:S #IMM8, dest
OR.B:S
#IMM8, dest MOV.B:S #IMM8, dest STZ.B:S #IMM8, dest
STNZ.B:S
#IMM8, dest STZX.B:S #IMM81, #IMM82,dest
CMP.B:S
#IMM8, dest PUSHM src POPM dest
JMPS
#IMM8 JSRS #IMM8
MOV.B:S
#IMM, dest (However, dest = A0 or A1)
The address
indicated by the
RMADi register +2
Instructions other than the above
The address
indicated by the
RMADi register +1
Table 12.8
Relationship between Address Match Interrupt Sources and Associated Registers
Address Match Interrupt Sources Address Match Interrupt Enable Bit Address Match Interrupt Register
Address Match Interrupt 0
AIER0
RMAD0
Address Match Interrupt 1
AIER1
RMAD1
Address Match Interrupt 2
AIER20
RMAD2
Address Match Interrupt 3
AIER21
RMAD3



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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