ARM Cortex R4F Uživatelský manuál Strana 40

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 64
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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 # ]
Zobrazit stránku 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 63 64

Komentáře k této Příručce

Žádné komentáře