Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | IRQ Priority - Small Question

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

IRQ Priority - Small Question - Leighton Rowe - Dec 3 10:24:00 2004


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





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: IRQ Priority - Small Question - Michael Anburaj - Dec 6 8:17:00 2004

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
__________________________________





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )