Zitat Zitat von Sauerbruch Beitrag anzeigen
Zum Powerdown-Modus schreibt das Datenblatt fogendes:


"When the SM1..0 bits are written to 10, the SLEEP instruction makes the MCU enter
Power-down mode. In this mode, the Oscillator is stopped, while the external interrupts,
and the Watchdog continue operating (if enabled). Only an External Reset, a Watchdog
Reset, a Brown-out Reset, an external level interrupt on INT0, or a pin change interrupt
can wake up the MCU. This sleep mode halts all generated clocks, allowing operation of
asynchronous modules only."


Da der interne Oszillator angehalten wird, gibt´s auch keinen Timer-Overflow mehr. Die einzige Möglichkeit eines Aufwachens ohne ein externes Ereignis wäre der Watchdog.
Ok, das heißt in der Theorie könnte der Code schon das tun, was ich wollte. Nur halt gibt es keinen Timer-Interrupt.

Sprich, ich werde mich einlesen, wie man den WatchDog bedient.


Danke!!

Lg