Atmel AVR
(Redirected from Atmel)
- See also: AVR32
Contents |
AVR Studio
- AVR Studio 4
- GNU avr-gcc
- WinAVR - Precompiled version of avr-gcc for Windows
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]