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

"VOLATILE" IS VERY C0NFUSING

I AM NOT UNDERSTANDING THE SITUATION WHEN SHOULD I USE "VOLATILE" WITH VARIABLES ???

Parents
  • "Is it required in the following case to declare PortPin as volatile"

    I seem to recall some time ago (years ago?) Keil saying that SFRs and their bit objects are implicitly volatile. I could not find a reference to that in an extremely short time searching. I'll try again when I have time.

Reply
  • "Is it required in the following case to declare PortPin as volatile"

    I seem to recall some time ago (years ago?) Keil saying that SFRs and their bit objects are implicitly volatile. I could not find a reference to that in an extremely short time searching. I'll try again when I have time.

Children