October 2014
Intermediate to advanced
453 pages
13h 3m
English
**************************************************************
*
* Forward declaration of the default fault handlers.
*
**************************************************************
.global myStart, myStack, ResetISR, Vecs, _c_int00, _main
**************************************************************
* Interrupt vector table
**************************************************************
.sect “.intvecs”
Vecs: .word myStack + 0x400 ; The initial stack pointer
.word _main ; The reset handler
.word NmiSR ; The NMI handler
.word FaultISR ; The hard fault handler
.word IntDefaultHandler ; The MPU fault handler
.word IntDefaultHandler ; The bus fault handler
.word IntDefaultHandler ; The usage fault handler
.word 0 ; Reserved ...
Read now
Unlock full access