Go Down

Topic: Switching between two ISRs (Read 1 time) previous topic - next topic


If it's shared, make it volatile.  If it's only accessed by one side or the other, no need for volatile.  When in doubt, make it volatile.  
loop side access must be protected by disabling interrupts.

Thanks, that's v. clear.

Go Up