Electronic Components Datasheet Search
  English  ▼

X  

32182 Datasheet(PDF) 103 Page - Renesas Technology Corp

Part # 32182
Description  32-BIT RISC SINGLE-CHIP MICROCOMPUTER M32R FAMILY / M32R/ECU SERIES
PDF  755 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

32182 Datasheet(HTML) 103 Page - Renesas Technology Corp

Back Button 32182 Datasheet HTML 99Page - Renesas Technology Corp 32182 Datasheet HTML 100Page - Renesas Technology Corp 32182 Datasheet HTML 101Page - Renesas Technology Corp 32182 Datasheet HTML 102Page - Renesas Technology Corp 32182 Datasheet HTML 103Page - Renesas Technology Corp 32182 Datasheet HTML 104Page - Renesas Technology Corp 32182 Datasheet HTML 105Page - Renesas Technology Corp 32182 Datasheet HTML 106Page - Renesas Technology Corp 32182 Datasheet HTML 107Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 103 / 755 page
background image
4
4-8
EIT
32182 Group User’s Manual (Rev.1.0)
4.5 Acceptance of EIT Events
When an EIT event occurs, the CPU suspends the program it has hitherto been executing and branches to EIT
processing by the relevant handler. Conditions under which each EIT event occurs and the timing at which they are
accepted are shown below.
Table 4.5.1 Acceptance of EIT Events
EIT Event
Type of Processing
Acceptance Timing
Values Set in BPC Register
Reserved Instruction
Instruction processing-
During instruction execution
PC value of the instruction that
Exception (RIE)
canceled type
generated RIE
Address Exception (AE)
Instruction processing-
During instruction execution
PC value of the instruction that
canceled type
generated AE
Floating-Point Exception
Instruction processing-
Break in instructions
PC value of the instruction that
(FPE)
completed type
generated FPE + 4
Reset Interrupt (RI)
Instruction processing-
Each machine cycle
Undefined value
aborted type
System Break Interrupt
Instruction processing-
Break in instructions
PC value of the next instruction
(SBI)
completed type
(word boundary only)
External Interrupt (EI)
Instruction processing-
Break in instructions
PC value of the next instruction
completed type
(word boundary only)
Trap (TRAP)
Instruction processing-
Break in instructions
PC value of TRAP instruction + 4
completed type
4.6 Saving and Restoring the PC and PSW
The following describes operation of the microcomputer at the time when it accepts an EIT and when it executes the
RTE instruction.
(1) Hardware preprocessing when an EIT is accepted
[1] Save the PSW register’s SM, IE and C bits in its backup field.
BSM
←
SM
BIE
←
IE
BC
←
C
[2] Update the PSW register’s SM, IE and C bits
SM
←
Remains unchanged (RIE, AE, FPE, TRAP) or cleared to "0" (SBI, EI, RI)
IE
←
Cleared to "0"
C
←
Cleared to "0"
[3] Save the PC register
BPC
←
PC
[4] Set the vector address in the PC register
Branches to the EIT vector and executes the branch (BRA) instruction written in it, thereby transferring
control to the user-created EIT handler.
(2) Hardware postprocessing when the RTE instruction is executed
[A] Restore the PSW register’s SM, IE and C bits from its backup field.
SM
←
BSM
IE
←
BIE
C
←
BC
[B] Restore the PC register from the BPC register.
PC
←
BPC
Note: • The values stored in the BPC and the PSW register’s BSM, BIE and BC bits after executing the RTE
instruction are undefined.
4.5 Acceptance of EIT Events



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