]> hackdaworld.org Git - my-code/atmel.git/blobdiff - beginners/s90_to_tiny.inc
somehow t1_overflow is not executed properly ...
[my-code/atmel.git] / beginners / s90_to_tiny.inc
index 7900ada9a825d56b5ae3cf687fdb2806c1380a37..f08715f75a2a8925199b05a1f779889791a12342 100644 (file)
 
 ; uart
 ;#####
+.equ   UBRRL   =UBRR   ; 09
+.equ   UBRRH   =$02
 .equ   UCSRA   =USR    ; 0b
 .equ   UCSRB   =UCR    ; 0a
 
-; 8 bit timer counter register
-;#############################
+; 8/16 bit timer counter registers
+;#################################
 .equ   TCCR0A  =$30
 ;-------------------
 .equ   WGM00   =$00
@@ -42,7 +44,9 @@
 .equ   OCR0B   =$3c
 ;-------------------
 
-
-
-
+; TIMSK
+;------
+.equ   OCIE0A  =$00
+.equ   OCIE0B  =$02
+.equ   OCIE1B  =$05