Lecture 16. Volatile Variables

Поділитися
Вставка
  • Опубліковано 28 жов 2024

КОМЕНТАРІ • 23

  • @neutrino9
    @neutrino9 2 роки тому +1

    Very nice explaination of volatile keyword !

  • @coderhex1675
    @coderhex1675 4 роки тому +3

    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?

    • @embeddedsystemswitharmcort9051
      @embeddedsystemswitharmcort9051  4 роки тому

      Sorry. My publisher has no such plan yet.

    • @coderhex1675
      @coderhex1675 4 роки тому +2

      @@embeddedsystemswitharmcort9051 understood. By the way, its nice to hear human voice because i am not native english speaker.

    • @k7iq
      @k7iq 3 роки тому

      Yeah, PDF would be nice for me. I'd definitely buy it.

  • @anthonyheak3479
    @anthonyheak3479 8 місяців тому

    Great explaination, thank you!

  • @Cpu-w5f
    @Cpu-w5f 4 місяці тому

    Very good explanation

  • @Pappag93
    @Pappag93 4 роки тому

    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.

  • @subhankarmahapatra5492
    @subhankarmahapatra5492 4 роки тому +2

    Nicely Explained👏

  • @darkobul1
    @darkobul1 4 роки тому +1

    Clear explanation

  • @vincentgao8660
    @vincentgao8660 2 роки тому

    smart explained, easy to understand

  • @James-ss9hi
    @James-ss9hi Рік тому

    great lecture

  • @sivaramarajusiv7826
    @sivaramarajusiv7826 Рік тому

    Excellent

  • @U5k571
    @U5k571 3 роки тому

    Perfect video.

  • @brahmam3470
    @brahmam3470 2 роки тому

    Thank you

  • @manjunathys164
    @manjunathys164 4 роки тому +1

    Which IDE is that you are using?

  • @XDTuber
    @XDTuber 4 роки тому

    Thank you for this

  • @hawkkim1974
    @hawkkim1974 Рік тому +1

    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!

    • @ashishjog
      @ashishjog Рік тому

      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?