Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Question on proving interrupt priority on vectored IRQ interrupts

2004-12-03 by Jenish

simple have a uart throw some character on the terminal.in each timer
routine have different message to identify.
jns


On Wed, 01 Dec 2004 11:01:44 -0000, © @ °Ø¦â¤p¿ß
<sevenstar_uk@...> wrote:
> 
> Hi everyone, I am using LPC2106 at the moment and only got the 
> general purpose timer (Timer0 & Timer1) setup. I am using vectored 
> IRQ handler to handle the interrupts produced by each timer. I put 
> the IRQ interrrupt from Timer0 in the the first slot of priority 
> table, and interrupts from Timer1 have been assigned to the second 
> slot of the priority table. so that when both interrupts occur at 
> the same time the interrupt handler for Timer0 would be executed 
> first according to the priority table. 
> 
> The question I would like to ask is that how do I "prove" that, when 
> both interrupts occured at the same time (when both timer's MR value 
> are set at the same amount), Timer0's handler function would be 
> executed before Timer1's handler function? I know that because of 
> the priority for vectored IRQs would decide this, but the point is 
> how do I prove that the priority does exist to someone by modifing 
> my interrupt handler function? (perhaps using "VICRawIntr"?) and if 
> so, how do I implement that? 
> 
> thank you!
> 
> 
> 
> 
> 
> Yahoo! Groups Sponsor
> 
> ADVERTISEMENT
> 
> 
> ________________________________
> Yahoo! Groups Links
> 
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/lpc2000/
>   
> To unsubscribe from this group, send an email to:
> lpc2000-unsubscribe@yahoogroups.com
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.