Discussion group dedicated to the Philips LPC2000 family of ARM MCUs
|
I just have a small question on IRQ Interrupts...can an IRQ channel interrupt another IRQ routine (lower IRQ priority) that's currently executing? To make this question more practical, let's say I assign TIMER0 & UART0 as IRQs where: TIMER0 --> VIC Vector Control 0 UART0 --> VIC Vector Control 1 Can TIMER0 interrupt UART0 even if UART0's being serviced? If yes, what would be the best way to avoid possible data-share problems? thanks in advance, Leighton |
|
|
|
Leighton, Nesting interrupts is possible with ARM (switch to system_mode & clear the I-bit to reanable interrupts). Without the VIC, it's not possible to priotitize among interrupts. With the VIC, I am not sure. Cheers, -Mike. --- Leighton Rowe <> wrote: > I just have a small question on IRQ Interrupts...can > an IRQ channel > interrupt another IRQ routine (lower IRQ priority) > that's currently > executing? > > To make this question more practical, let's say I > assign TIMER0 & > UART0 as IRQs where: > TIMER0 --> VIC Vector Control 0 > UART0 --> VIC Vector Control 1 > > Can TIMER0 interrupt UART0 even if UART0's being > serviced? If yes, > what would be the best way to avoid possible > data-share problems? > > thanks in advance, > Leighton __________________________________ |