【IAR警告】Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined

  Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this statementpost   運算符兩邊都是volatile變量的警告this   這警告有意義. 用volatile修飾的變量通常不直接參與運算,volatile就覺得着這個變量在運算過程當中有可能已經改變了 例如:
相關文章
相關標籤/搜索