Electronic Components Datasheet Search
  English  ▼

X  

UM0434 Datasheet(PDF) 159 Page - STMicroelectronics

Part # UM0434
Description  The primary objective of this user?셲 manual is to describe
PDF  390 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0434 Datasheet(HTML) 159 Page - STMicroelectronics

Back Button UM0434 Datasheet HTML 155Page - STMicroelectronics UM0434 Datasheet HTML 156Page - STMicroelectronics UM0434 Datasheet HTML 157Page - STMicroelectronics UM0434 Datasheet HTML 158Page - STMicroelectronics UM0434 Datasheet HTML 159Page - STMicroelectronics UM0434 Datasheet HTML 160Page - STMicroelectronics UM0434 Datasheet HTML 161Page - STMicroelectronics UM0434 Datasheet HTML 162Page - STMicroelectronics UM0434 Datasheet HTML 163Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 159 / 390 page
background image
Interrupts and exceptions
UM0434
160/391
6
Interrupts and exceptions
This chapter provides a general description of the PowerPC Book E interrupt and exception
model and gives details of the additions and changes to that model that are implemented in
the e200z3 core. This chapter identifies features defined by Book E, the Freescale Book E
implementation standards (EIS), and the e200z3 implementation.
6.1
Overview
Book E defines the mechanisms by which the e200z3 core implements interrupts and
exceptions. Note the following definitions:
Interrupt
Action in which the processor saves its old context and begins
execution at a predetermined interrupt handler address
Exceptions
Events that, if enabled, cause the processor to take an interrupt
The PowerPC exception mechanism allows the processor to change to supervisor state for
the following reasons:
●
As a result of unusual conditions (exceptions) arising in the execution of instructions
●
As a response to the assertion of external signals, bus errors, or various internal
conditions
When an interrupt occurs, information about the processor state held in the MSR and the
address at which execution should resume after the interrupt is handled are saved to a pair
of save/restore registers (SRR0/SRR1 for non-critical interrupts, CSRR0/CSRR1 for critical
interrupts, or DSRR0/DSRR1 for debug interrupts when the debug APU is enabled), and the
processor begins executing at an address (interrupt vector) determined by the interrupt
vector prefix register (IVPR) and an interrupt-specific interrupt vector offset register
(IVOR
n). Processing of instructions within the interrupt handler begins in supervisor mode.
Multiple exception conditions can map to a single interrupt vector and may be distinguished
by examining registers associated with the interrupt. The exception syndrome register
(ESR) is updated with information specific to the exception type when an interrupt occurs.
To prevent loss of state information, interrupt handlers must save the information stored in
the save/restore registers soon after the interrupt is taken. Hardware supports nesting of
critical interrupts within non-critical interrupts, and debug interrupts within both critical and
non-critical interrupts. The interrupt handler must save necessary state information if
interrupts of a given class are re-enabled within the handler.
The following terms are used to describe the stages of exception processing:
Recognition
Exception recognition occurs when the condition that can
cause an exception is identified by the processor.
Recognition is also referred to as an ‘exception event.’
Taken
An interrupt is said to be taken when control of instruction
execution is passed to the interrupt handler; that is, the context
is saved, the instruction at the appropriate vector offset is fetched,
and the interrupt handler routine begins.
Handling
Interrupt handling is performed by the software linked to the appropriate
vector offset. Interrupt handling is begun in supervisor mode.



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