its with avr studio assembly language programming xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Thomas Keller wrote: > On Tue, 2005-08-09 at 09:56 -0400, wbounce wrote: > > Sounds like you need the volatile modifier in front of you variable > > declaration > > Ie > > volatile uint8_t msCount; > > This tells the compiler that is the variable is modified outside of > > the interrupt routine. > > Or simply declare the variable as a global identifier. Globally > declared variables are visible in all modules/files. > > Which C compiler is this, anyway? > > tom > > > > SPONSORED LINKS > Atmel avr > <http://groups.yahoo.com/gads?t=ms&k=Atmel+avr&w1=Atmel+avr&w2=Microcontrollers&w3=Intel+microprocessors&w4=Pic+microcontrollers&w5=8085+microprocessor&c=5&s=115&.sig=UdYTrGL2FrE55fcuy5wZEQ> > Microcontrollers > <http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Atmel+avr&w2=Microcontrollers&w3=Intel+microprocessors&w4=Pic+microcontrollers&w5=8085+microprocessor&c=5&s=115&.sig=lrlEOiO4YgeS8q8wlFKMDA> > Intel microprocessors > <http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Atmel+avr&w2=Microcontrollers&w3=Intel+microprocessors&w4=Pic+microcontrollers&w5=8085+microprocessor&c=5&s=115&.sig=ukPztZmdOedN_8ChzX-5zA> > > Pic microcontrollers > <http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Atmel+avr&w2=Microcontrollers&w3=Intel+microprocessors&w4=Pic+microcontrollers&w5=8085+microprocessor&c=5&s=115&.sig=ZLA3s52uCUS41MlZHTBMKg> > 8085 microprocessor > <http://groups.yahoo.com/gads?t=ms&k=8085+microprocessor&w1=Atmel+avr&w2=Microcontrollers&w3=Intel+microprocessors&w4=Pic+microcontrollers&w5=8085+microprocessor&c=5&s=115&.sig=IxZk4rgmjbtS_sw6CPxrQg> > > > > ------------------------------------------------------------------------ > YAHOO! GROUPS LINKS > > * Visit your group "AVR-Chat > <http://groups.yahoo.com/group/AVR-Chat>" on the web. > > * To unsubscribe from this group, send an email to: > AVR-Chat-unsubscribe@yahoogroups.com > <mailto:AVR-Chat-unsubscribe@yahoogroups.com?subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > > ------------------------------------------------------------------------ >
Message
Re: [AVR-Chat] Question regarding interrupt routine in AT90CAN128
2005-08-10 by Venkat Nagappan
Attachments
- No local attachments were found for this message.