Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Mehdi
12/10/12 10:30
Read: 879 times
Tehran
Iran


 
#188978 - Thanks
Responding to: Jerson Fernandes's previous message
Jerson Fernandes said:
If you change the variable in main loop and interrupt writes the same variable, you can have undefined values in the variable.


Thanks Jerson for your reply,
it seems 'AVR1305' document has a such answer as you,


List of 6 messages in thread
TopicAuthorDate
32bit variables in interrupt      MEHDI      12/10/12 09:23      
   the variable will get corrupted      Jerson Fernandes      12/10/12 09:52      
      Thanks      MEHDI      12/10/12 10:30      
         Not 8051-specifc      Andy Neil      12/11/12 01:32      
   Exactly the same question just appeared on Keil!      Andy Neil      12/13/12 01:37      
      Probably!       Richard Erlacher      12/13/12 09:10      

Back to Subject List