[AVR-GCC] sleep_mode_set

Loading thread data ...

W artykule <cbh956$7m2$ snipped-for-privacy@nemesis.news.tpi.pl> BT napisal(a):

No, na moje oko brakuje zezwolenia na przerwanie zewnętrzne (jakieś maski trza ustawić itp.).

RTFM ;-)

If an enabled interrupt occurs while the MCU is in a sleep mode, the MCU wakes up. The MCU is then halted for four cycles in addition to the start-up time, it executes the interrupt routine, and resumes execution from the instruction following SLEEP. The contents of the Register File and SRAM are unaltered when the device wakes up from sleep. If a Reset occurs during sleep mode, the MCU wakes up and executes from the Reset Vector.

Pozdrawiam

Marcin Stanisz

Reply to
Marcin Stanisz

Dnia pią 25. czerwca 2004 18:18 BT napisał(a):

No, tylko ręce załamać :-) Kawałek dalej (czy bliżej, bo nie pamiętam) napisali, że rejestry i RAM zostają się podczas snu bez zmian.

Pozdrawiam

Reply to
Marcin Stanisz

Dnia sob 26. czerwca 2004 10:27 BT napisał(a):

Nie sprawdzałem trybów uśpienia - nie miałem takiej potrzeby. ZTCW to te uA są po wyłączeniu przetwornika A/C, napięcia odniesienia i innych takich.

Nie powinno mieć znaczenia. Hi-Z to załatwi.

Pozdrawiam znad kuwety do trawienia płytek... Pani się dziwnie w sklepie patrzyła, kiedy prosiłem o zmywacz do paznokci, ale ją uspokoiłem, że tylko u nóg maluję ;-))

Reply to
Marcin Stanisz

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.