• volatile keyword
    The application note suggests to wrap a timer tick variable in a function which disables all interrupts, reads and copies the variable into a temp, re-enables interrupts, then returns the temp. Can...
  • keywords volatile in an interrupt routine
    In this webpage : http://www.keil.com/support/man/docs/gsac/gsac_timer.htm The question is why two variables one use volatile but another not ?? The two variables is "TimeTick" and "clock_1s". Who...
  • Question on volatile keyword
    I was wondering why I would receive this error when I add the volatile keyword - I am new to embedded C but my understanding was that it just told the complier not to optimize the variable? This...
  • volatile ?
    What is the use of declaring a variable volatile... what it means if it is specified volatile?
  • volatile
    Hi, when keyword volatile is used in the C programming...i have studied in one book that this volatile keyword is a directive to the compiler's optimizer that variables declared as volatile will not...