| ||||||||
Technical Support Support Resources Product Information | CARM: OVERWRITE ABORT HANDLER FUNCTIONSInformation in this article applies to:
QUESTIONI know how to override the default handler functions for FIQ and IRQ by appending __fiq and __irq to the C function. Is there a similar method that allows me to override the PAbt_Handler and DAbt_Handler default handler functions with C code? ANSWERYes. You can easily overwrite the default interrupt handler functions. Take a look at the \KEIL\ARM\STARTUP\ folder. It contains the assembler source files for all default handlers. If you must overwrite an abort handler with C code, use the same function name. For example, to overwrite the PAbt_Handler with a C function, use the following C source code:
void PAbt_Handler (void) __irq {
while (1);
}
MORE INFORMATION
FORUM THREADSThe following Discussion Forum threads may provide information related to this topic. Last Reviewed: Friday, July 15, 2005 | |||||||
| ||||||||