projects
/
my-code
/
atmel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a03344
)
changed init
author
hackbard
<hackbard>
Mon, 8 Dec 2003 17:30:06 +0000
(17:30 +0000)
committer
hackbard
<hackbard>
Mon, 8 Dec 2003 17:30:06 +0000
(17:30 +0000)
beginners/test_int.asm
patch
|
blob
|
history
diff --git
a/beginners/test_int.asm
b/beginners/test_int.asm
index
bb01a41
..
7c00fac
100644
(file)
--- a/
beginners/test_int.asm
+++ b/
beginners/test_int.asm
@@
-90,13
+90,13
@@
out TCCR1B, r16
ldi r16, (1<<TOIE1)
out TIMSK, r16
+; global interrupts enable
+sei
+
; allow sleep mode
ldi r16, (1<<SE)
out MCUCR, r16
-; global interrupts enable
-sei
-
; main loop
MAIN:
sleep