Atmel AVR

(Redirected from Atmel)
Jump to: navigation, search
Categories » Electronics » Atmel AVR
See also: AVR32

Contents

AVR Studio

Projects

Ethernet

Power Supply

Issues

WinAVR under Vista

I was having issues with WinAVR under Vista x64. This page provides a replacement DLL: [1]

Programming

Interrupts

Accessing Global Variables

Make sure global variables that will be used/modified by ISRs are declared to be volatile. [1] For example,

volatile uint8_t myVariable;

Nested Interrupts

Even if interrupts are disabled, the corresponding interrupt flag may be set by the associated event. Once set, the flag remains set, and will trigger an interrupt as soon as interrupts are enabled. [2]

Issues

Compiler warning: "discards qualifiers from pointer target type"

Fix: use "volatile" in function parameter definition. [3]

More Information

References

Personal tools
Namespaces
Variants
Actions
Navigation
Categories
Toolbox