|
From: | Bjarne Laursen |
Subject: | Re: [avr-chat] Interrupts from assync timer in sleepmode |
Date: | Tue, 27 Sep 2005 13:14:24 +0200 |
User-agent: | Mozilla Thunderbird 0.7.3 (Windows/20040803) |
Nils Springob wrote:
Did you checked the generated assembler code, that there is no other OP code inserted between the "cli" and the "sleep" instruction?The cli instruction will be executed with a delay of one cycle, so interrupts will be enabled when sleep mode is activated. It is important that the sleep instruction is the next executed opcode.
Yes, it is Ok.Atmel, is looking at the code right now. I will get back when I here what they have to say.
-Bjarne Laursen, RoseTechnology A/S
[Prev in Thread] | Current Thread | [Next in Thread] |