lpcware

Interrupt handler for LPC2294

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by tvink on Tue Jun 02 06:42:01 MST 2015
Hi,
I need to handle interrupts in an lpc2294 application.

I see from other postings that there is a c language startup file generated by lpcxpresso when a new project is created.  In that startup are weak handlers for each vector that can be overridden in the normal code.

However when I create an lpc2294 project, there is only an assembler language startup and as best as I can figure there are no weak handlers.  The line in the exception vector table where _irq is handled is commented out.  I can handle dispatching the IRQ and FIQ to the appropriate handlers in my code.  But how to I hook my c code to the hardware?

Please help.

thanks

Outcomes