At 11:02 AM 8/11/04 -0400, you wrote:
>ldr pc, [pc, #-0xFF0]
>
>loads the program counter with the values read from the location of (PC -
>0xff0). Essentially an indirect jump. That location (PC - 0xff0) is the
>address of the VIC register that holds the vector for the interrupt that is
>currently the highest priority IRQ.
Oh, and don't forget that the VIC's vector register must be written to to
signal the VIC that the end of the interrupt has been reached. Otherwise
the VIC will remain stuck on that interrupt.
That will be in the examples here and in the newlib lpc support.
Robert
" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "
Kelvin Throop, IIIMessage
Re: [lpc2000] Re: Interrupts trouble...
2004-08-11 by Robert Adsett
Attachments
- No local attachments were found for this message.