[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Global variables and ISRs ???
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Global variables and ISRs ??? |
Date: |
Thu, 15 Sep 2005 20:54:33 +0200 (MET DST) |
Keith Gudger <address@hidden> wrote:
> Now your main routine may have an old value
> for that variable.
Even with volatile, if the interrupt had happened a few clocks later,
you'd read the old value as well.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Re: [avr-gcc-list] Global variables and ISRs ???, Christopher X. Candreva, 2005/09/06
Re: [avr-gcc-list] Global variables and ISRs ???, Johnathan Corgan, 2005/09/06
Re: [avr-gcc-list] Global variables and ISRs ???, Parthasaradhi Nayani, 2005/09/06
- Re: [avr-gcc-list] Global variables and ISRs ???, David Brown, 2005/09/07
- Re: [avr-gcc-list] Global variables and ISRs ???, Vincent Trouilliez, 2005/09/07
- Re: [avr-gcc-list] Global variables and ISRs ???, Lars Noschinski, 2005/09/07
- Re: [avr-gcc-list] Global variables and ISRs ???, Vincent Trouilliez, 2005/09/07
- Re: [avr-gcc-list] Global variables and ISRs ???, David Brown, 2005/09/07
- Re: [avr-gcc-list] DIV instruction (WAS: Global variables and ISRs ???), Vincent Trouilliez, 2005/09/07