This short video introduces the volatile qualifier in C. Visit book website for more information: web.eece.maine.edu/~zhu/book
Пікірлер: 23
@saintikumar742118 күн бұрын
Very good explanation
@neutrino9 Жыл бұрын
Very nice explaination of volatile keyword !
@anthonyheak34794 ай бұрын
Great explaination, thank you!
@vincentgao86602 жыл бұрын
smart explained, easy to understand
@U5k5713 жыл бұрын
Perfect video.
@darkobul14 жыл бұрын
Clear explanation
@Pappag934 жыл бұрын
Great explanation of an important topic. 4:30 Would it be sufficient to use a GetFunction such as int GetFlag(void){return flag} which is called by main while(Getflag() == 0) instead of using volatile int flag? I'm not sure if the compiler could remove even a function call for optimization.
@embeddedsystemswitharmcort90514 жыл бұрын
This is a really nice question. Did anyone give it a try?
@XDTuber4 жыл бұрын
Thank you for this
@coderhex16754 жыл бұрын
It is so clear!! By the way, i want to buy your book but i want epub because i have an e-reader. Do you consider to deploy as epub on amazon?
@embeddedsystemswitharmcort90514 жыл бұрын
Sorry. My publisher has no such plan yet.
@coderhex16754 жыл бұрын
@@embeddedsystemswitharmcort9051 understood. By the way, its nice to hear human voice because i am not native english speaker.
@k7iq3 жыл бұрын
Yeah, PDF would be nice for me. I'd definitely buy it.
@James-ss9hi9 ай бұрын
great lecture
@sivaramarajusiv7826 Жыл бұрын
Excellent
@brahmam34702 жыл бұрын
Thank you
@subhankarmahapatra54924 жыл бұрын
Nicely Explained👏
@embeddedsystemswitharmcort90514 жыл бұрын
Thank you 🙂
@manjunathys1644 жыл бұрын
Which IDE is that you are using?
@embeddedsystemswitharmcort90514 жыл бұрын
ARM Keil www2.keil.com/mdk5
@manjunathys1644 жыл бұрын
@@embeddedsystemswitharmcort9051 Thank You
@hawkkim19748 ай бұрын
good explanation but volatile keyword is such a BS that its meaning is ambiguity itself. In this demo, we should assume that it's compiler bug! Why optimize out a memory access when a) systick handler accesses the memory area b) they are advertising their product is a compiler for embedded system development. The compiler should know!
@ashishjog8 ай бұрын
Do not agree that Volatile is BS but my exact thought was that systick handler is already there in startup code, why compiler not aware about this?