EmbeddedRelated.com
Forums

lpc2368 Timer0 Interrupt

Started by Andy Zammy April 6, 2009
bump this up please, still not too sure about how this works

An Engineer's Guide to the LPC2100 Series

andyzammy wrote:
> I'm currently trying to use the INT0 to trigger FIQ. It's the same
> problem as last time: I'm confused because i don't know what offset to
> give the FIQ_Handler line in the startup file. I would have said #-0x134
> but that didn't work when i tried it.

FIQ is not vectored by VIC. Typically the FIQ handler is coded in
assembler starting right from the FIQ vector address. Otherwise the idea
of the FIQs may vanish.

Of course you can alternatively put a direct branch to your C function
into the FIQ vector address.

--

Timo