Electronic Components Datasheet Search
  English  ▼

X  

32186 Datasheet(PDF) 138 Page - Renesas Technology Corp

Part # 32186
Description  MCU
PDF  1032 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

32186 Datasheet(HTML) 138 Page - Renesas Technology Corp

Back Button 32186 Datasheet HTML 134Page - Renesas Technology Corp 32186 Datasheet HTML 135Page - Renesas Technology Corp 32186 Datasheet HTML 136Page - Renesas Technology Corp 32186 Datasheet HTML 137Page - Renesas Technology Corp 32186 Datasheet HTML 138Page - Renesas Technology Corp 32186 Datasheet HTML 139Page - Renesas Technology Corp 32186 Datasheet HTML 140Page - Renesas Technology Corp 32186 Datasheet HTML 141Page - Renesas Technology Corp 32186 Datasheet HTML 142Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 138 / 1032 page
background image
INTERRUPT CONTROLLER (ICU)
5
5-14
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
5.5.2 Processing by Internal Peripheral I/O Interrupt Handlers
(1) Branching to the interrupt handler
Upon accepting an interrupt request, the CPU branches to the EIT vector entry after performing the
hardware preprocessing as described in Section 4.3, “EIT Processing Procedure.” The EIT vector
entry for External Interrupt (EI) is located at the address H’0000 0080. This address is where the
instruction (not the jump address itself) for branching to the beginning of the interrupt handler routine
for external interrupt requests is written.
(2) Processing in the External Interrupt (EI) handler
A typical operation of the External Interrupt (EI) handler (for interrupts from internal peripheral I/O) is
shown in Figure 5.5.2.
[1] Saving each register to the stack
Save the BPC, PSW and general-purpose registers to the stack. Also, save the accumulator and
FPSR register to the stack as necessary.
[2] Reading the Interrupt Request Mask Register (IMASK) and saving to the stack
Read the Interrupt Request Mask Register and save its content to the stack.
[3] Reading the Interrupt Vector Register (IVECT)
Read the Interrupt Vector Register. This register holds the 16 low-order address bits of the ICU
vector table for the accepted interrupt request source that was stored in it when accepting an
interrupt request. When the Interrupt Vector Register is read, the following processing is
automatically performed in hardware:
• The interrupt priority level of the accepted interrupt request (ILEVEL) is set in the IMASK
register as a new IMASK value. (Interrupts with lower priority levels than that of the
accepted interrupt request source are masked.)
• The accepted interrupt request source is cleared (not cleared for level-recognized interrupt
request sources).
• The interrupt request (EI) to the CPU core is dropped.
• Internal sequencer of ICC is activated to start internal processing (interrupt priority
resolution).
[4] Reading and overwriting the Interrupt Request Mask Register (IMASK)
Read the Interrupt Request Mask Register and overwrite it with the read value. This write to the
IMASK register causes the following processing to be automatically performed in hardware:
• The interrupt request (EI) to the CPU core is dropped.
• Internal sequencer of ICC is activated to start internal processing (interrupt priority resolution).
[5] Reading the ICU vector table
Read the ICU vector table for the accepted interrupt request source. The relevant ICU vector table
address can be obtained by zero-extending the content of the Interrupt Vector Register that was
read in [3] (i.e., the 16 low-order address bits of the ICU vector table for the accepted interrupt
request source). The ICU vector table must have set in it the start address of the interrupt handler
for the interrupt request source concerned.)
5.5 Description of Interrupt Operation



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