Skip to content

EasyConceptEmbedded C

What does the volatile keyword do?

What a good answer covers

It tells the compiler a variable can change outside program flow, such as by hardware or an interrupt, so each access must really read or write memory.

More on Embedded C

Flashcards for this topic