[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] variable that survives reset?
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] variable that survives reset? |
Date: |
Mon, 24 Nov 2003 19:49:14 +0100 |
User-agent: |
Mutt/1.2.5i |
As E. Weddington wrote:
> > Is it possible to have variable that survives a reset?
> That's what the internal EEPROM is for: ...
Well, simpler: the .noinit section. It's described in the manual. Of
course, noinit means no implied initialization at all, i. e. you gotta
initialize it yourself at least once (probably depending on MCUSR for
an external or power-up reset).
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/