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
(from parent 1:
5ccc8d3
)
anded echo :)
author
hackbard
<hackbard>
Mon, 8 Dec 2003 16:20:47 +0000
(16:20 +0000)
committer
hackbard
<hackbard>
Mon, 8 Dec 2003 16:20:47 +0000
(16:20 +0000)
beginners/test_int.asm
patch
|
blob
|
history
diff --git
a/beginners/test_int.asm
b/beginners/test_int.asm
index
bae423e
..
904a352
100644
(file)
--- a/
beginners/test_int.asm
+++ b/
beginners/test_int.asm
@@
-53,6
+53,7
@@
nop
UART_RX:
in r16, UDR
andi r16, $7C
+out UDR, r16
out DDRD, r16
reti
@@
-63,7
+64,7
@@
out SPL, r16
; baudrate einstellen
ldi r16, 11 ; "38400 bps wert" in r16
out UBRR, r16 ; write to uart baudrate register
-sbi UCR, (RXEN|RXCIE) ; enable tx at uart control register
+sbi UCR, (RXEN|
TXEN|
RXCIE) ; enable tx at uart control register
sei