Interrupt vectors
2004-11-03 by robert.wood@apostrophe.co.uk
Hi folks, I'm just trying to make sure I understand the way the ARM devices service interrupts. It looks like the peripherals have an interrupt number assigned to them and they are assigned to one of sixteen interrupt vectors; therefore, if an peripheral is assigned to, say, vector 3, when the interrupt occurs the program will jump to the address stored in VICVectAddr3. 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! Cheers, Rob