; ; compatibility (s902313 -> tiny2313) ; ; - certainly incomplete ; - gets updated everytime i need more incompatible defs in my apps ;) ; ; author: hackbard@hackdaworld.org ; ; ; register and bit definitions ; ; uart ;##### .equ UBRRL =UBRR ; 09 .equ UBRRH =$02 .equ UCSRA =USR ; 0b .equ UCSRB =UCR ; 0a ; 8/16 bit timer counter registers ;################################# .equ TCCR0A =$30 ;------------------- .equ WGM00 =$00 .equ WGM01 =$01 .equ COM0B0 =$04 .equ COM0B1 =$04 .equ COM0A0 =$06 .equ COM0A1 =$07 .equ TCCR0B =$33 ;------------------- ;.equ CS00 =$00 ;.equ CS01 =$01 ;.equ CS02 =$02 .equ WGM02 =$03 .equ FOC0B =$06 .equ FOC0A =$07 .equ OCR0A =$36 ;------------------- .equ OCR0B =$3c ;------------------- ; TIMSK ;------ .equ OCIE0A =$00 .equ OCIE0B =$02 .equ OCIE1B =$05