AVR SLEEP
VFX
info at vfx.hu
Thu Nov 18 22:42:34 CET 2004
Hali!
Na most mar nem hagyott nyugodni a dolog, utana jartam!
A WEBlapomon meg egy eleg regi pdf van kint (hm epp itt az ideje
frissiteni, de tanulsagul meghagyom a regit is!). Ebben majdnem azt
irja, amire emlekeztem :)
De meg sem teljesen, jol emlekeztem:
http://www.vfx.hu/avr/download/avr_inst_sets.pdf
"When an interrupt wakes up the MCU from a sleep state, the instruction
following the SLEEP instruction will be executed before the interrupt
handler is executed."
Ez azert volt emlekezetes, mert egy FSK modemnel nagyon mexivtam ezt!!
Ez mar a javitott verzioja:
http://www.vfx.hu/proj/fskmodem/afsk_mod.zip
http://www.vfx.hu/proj/fskmodem/afsk_demod.zip
Ha a sleep utan valami indiferens dolog csinal az ember, akkor semmi
baj. De ha az interrupt rutinban keletkezik valami fonts, amit a sleep
utan egybol dotes kovet (compare, vagy regiszter muvelet), na akkor baj
lesz! Es volt is, mert jol nem mukodott az FSK. Es csak neztem butan
magamele (mondjuk ez nem nehez dolog :), majd elolvastam a user manualt
:)
UDV. VFX.
http://www.vfx.hu
More information about the Elektro
mailing list