ARM Cortex R4F Manual do Utilizador Página 40

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 64
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 63 64

Comentários a estes Manuais

Sem comentários