cancel
Showing results for 
Search instead for 
Did you mean: 

Tech Talk: Using the volatile Keyword in Embedded C

STM Community
Associate III
Posted on June 12, 2018 at 20:03

Title Document: Tech Talk: Using the volatile Keyword in Embedded C

What is the volatile keyword in C?

C's volatile keyword is a qualifier that is applied to a variable when it is declared. It tells the compiler that the value of the variable may change at any time--without any action being taken by the code the compiler finds nearby. The implications of this are quite serious. However, before we examine them, let's take a look at the syntax.

In this video, Barr Group Principal Engineer Dan Smith offers important tips for how to best use the volatile keyword in Embedded C.

For more informative Tech Talks, go to

https://barrgroup.com/tech-talks

.

0 REPLIES 0