This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280049C: 请问代码中变量申明时,什么时候需要用volatile关键字

Part Number: TMS320F280049C

TI的工程师们:

您好,请问在代码变量申明时,什么时候需要用volatile关键字?

在学习TI官方的例程时,对于一些变量使用了volatile来申明,但是一些没有,所以想请问您关于这个方面有没有什么指导的建议?

十分感谢!