Question
do i need to use a general purpose register inside an interrupt?
my interrupt code needs to make a decision based on a flag, which I stored in a global variable. However, the code wont compile as it doesn't recognise the variable inside the interrupt, but does everywhere else. Is this normal?
If it is normal, is there a general purpose register I can use for this information instead? I can't seem to find it in the reference manual
