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?