ARM Cortex R4F Manual de usuario Pagina 40

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 64
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 39
© G.N. Khan ARM Processors/Cores – EE8205: Embedded Computer Systems Page: 40
Exception/Interrupt Handler
Exception: a condition that needs to halt the normal sequential flow of
instruction execution.
Exception Categories: Reset, SVC Supervisor Call (Software
Interrupt), Fault (e.g., undefined op-code) and Interrupts
Each exception has:
An exception number
A priority level
An exception handler routine (such as ISR)
An entry in the vector table (address of associated ISR)
Exception Response
Processor state (8 words) stored on stack: CPSR, Return Address, LR,
R12, R3 - R0. Allows a regular C function to be an ISR!
Processor switched (from Thread Mode) to Handler Mode
(recorded in xPSR or CPSR).
PC vector table [exception # ]
Vista de pagina 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 63 64

Comentarios a estos manuales

Sin comentarios