This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

32 bit variables with interrupt

we must assume that we define a variable as the long (32bit). and so what happens on it's value when this variable is changed in main loop and exactly at this time an intrrupt occurs!
can this variable do have any value.

please provide the correct answer and reasoning.

Parents
  • For interested people, this has already been covered here many times.

    But since you write "please provide the correct answer and reasoning" it is obvious that you don't have any real interest in this question. Except that you need to supply a good answer back to your teacher.

    Wouldn't it be better to spend time actually trying to learn things, than just try to get forum members to supply direct answers to copy/paste for your home work?

Reply
  • For interested people, this has already been covered here many times.

    But since you write "please provide the correct answer and reasoning" it is obvious that you don't have any real interest in this question. Except that you need to supply a good answer back to your teacher.

    Wouldn't it be better to spend time actually trying to learn things, than just try to get forum members to supply direct answers to copy/paste for your home work?

Children