阅读背景:

在主程序和C中的ISR之间共享volatile变量是否安全?

来源:互联网 

Is it safe to share an aligned integer variable, not bigger than the processor natural word, with volatile qualifier, between the main program and an ISR in C? Is it guaranteed that no torn reads or writes may happen?Is it safe to share an aligned integer variable




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: