Hi Robert, > All reasonably easy to understand. What it also seems to indicate > though is that each peripheral only has one interrupt number you can > assign to each vector. So, for example, if a UART flags up an > interrupt, you won't know, until you go to the interrupt vector and > check the flags, whether it's a transmit, receive or error interrupt. > Is that correct? Seems a bit primitive if so! Yes, the INT handler needs to check in IIR register (low nibble) whether it's an RDA, char Timeout, THE, or some error INT. Seemingly silly, bit like an 8051, but I'm sure there's a reason for it.... I personally don't like it either. Could be worse though, we could still have a single INT vector on a PIC :-) -- Kris
Message
Re: [lpc2000] Interrupt vectors
2004-11-03 by microbit
Attachments
- No local attachments were found for this message.