Hi.
This is a general question, but for examples lets use C2000 (because that's what I'm working on right now :) )
Suppose I have two functions. One of them is for "general purposes" (like communication) and the other is for real time events response.
void FuncRT() { // response to RT } void FuncGeneral() { // do general stuff } void ISR() { // switch context to FuncRT } void main() { while(1) { FuncGeneral(); } }
Suppose I want the ISR to be very short and its purpose is only to "switch the context" to the RT function, which will do whatever it's doing, and after its return the General function will continue.
I know how to implement this with TI-RTOS. My question is how to do it without it.
Thanks.