View Single Post
  #4   Spotlight this post!  
Unread 12-01-2004, 17:50
Larry Barello Larry Barello is offline
http://www.barello.net
#0492 (Titan Robotics Club)
Team Role: Mentor
 
Join Date: Jan 2002
Location: Bellevue, WA
Posts: 85
Larry Barello has a spectacular aura aboutLarry Barello has a spectacular aura about
Re: Nesting Interrupts - is it possible?

Quote:
Originally Posted by Rickertsen2
Yes, with low-priority interrupts it can. If you don't know what a low priority interrupt is, then jsut take my word and know it will work. Just don't try too many interrupts inside interrupts, as these are added to the stack, which will eventually overflow if you do.
Thanks. This actually might be useful. I have some tasks that are (relatively) infrequent, but could easily be done in the interrupt handler as long as I don't shut the frequent, high speed stuff down (e.g. quadrature encoder input). The design requires only one level of nesting.

So, to conclude, to enable interrupts, within the low priority handler, I simply write a 1 to the global interrupt enable flag?