Serial interrupt disable versus Uart
Posted: Tue Dec 16, 2014 8:46 pm
It is not clear to me how the serial interrupt really works. If the interrupt is disabled, the uart can still receive serial data. I would like to know if the interrupt flag is raised even when the interrupt is disabled.
This is a pivotal item since interrupts occurring while a macro call is in place corrupts the stack. This caused me to enable the interrupt at known places to assure that the interrupt service was performed while no macro's were in play.
So - I would like to know
1. Will an interrupt enable service a serial activity that happened previously to the serial enable?
2. Is there a better way to handle the stack - Do I presume right that the stack is corrupted at serial time?
Thanks
This is a pivotal item since interrupts occurring while a macro call is in place corrupts the stack. This caused me to enable the interrupt at known places to assure that the interrupt service was performed while no macro's were in play.
So - I would like to know
1. Will an interrupt enable service a serial activity that happened previously to the serial enable?
2. Is there a better way to handle the stack - Do I presume right that the stack is corrupted at serial time?
Thanks