Dear Champs,
I am asking this for a customer.
If the user declare a local variable in an ISR, is it possible the variable is corrected after many ISR running for some time?
in case
1) All the ISR are running without nested ISR
2) All the ISR are running with nested ISR, where the ISR can be interrupted by other ISR
Is it better that he uses a static variable in the ISR or a global variable outside the ISR rather than a local variable in the ISR in this case?
What’s your suggestion?
Wayne