/* no comment */
[my-code/atmel.git] / beginners / s90_to_tiny.inc
index 7900ada..f08715f 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