| |||||
Technical Support Support Resources
Product Information | BL51: INTERRUPT GENERATES WARNING 16 (UNCALLED SEGMENT)Information in this article applies to:
SYMPTOMSI have written the following Interrupt Service Routine (ISR):
void myisr(void) interrupt 0
{
}
When I build my project I get: WARNING 16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?MYISR?TEST How do I tell the linker that it really is an interrupt and isn't explicitly called from anywhere in my source code? CAUSEThis problem may be caused if you use the NOINTVECTOR compiler directive but do not include an LJMP or AJMP to the ISR. RESOLUTIONYou can resolve this in two ways:
MORE INFORMATION
SEE ALSOLast Reviewed: Friday, July 15, 2005 | ||||
| |||||