Blame | Last modification | View Log | Download | RSS feed
ifndef __reguart90inc__reguart90inc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File REGUART90.INC *;* *;* Contains Bit & Register Definitions for AT90Sxxxx UART *;* *;****************************************************************************UDR port 0x0c ; UART I/O Data RegisterUSR port 0x0b ; UART Status RegisterOR avrbit USR,3 ; OverrunFE avrbit USR,4 ; Framing ErrorUDRE avrbit USR,5 ; Data Register EmptyTXC avrbit USR,6 ; Transmit CompleteRXC avrbit USR,7 ; Receive CompleteUCR port 0x0a ; UART Control RegisterTXB8 avrbit UCR,0 ; Transmit Bit 8RXB8 avrbit UCR,1 ; Receive Bit 8CHR9 avrbit UCR,2 ; 9 bit CharactersTXEN avrbit UCR,3 ; Enable TransmitterRXEN avrbit UCR,4 ; Enable ReceiverUDRIE avrbit UCR,5 ; Enable Data Register Empty InterruptTXCIE avrbit UCR,6 ; Enable Transmit Complete InterruptRXCIE avrbit UCR,7 ; Enable Receive Complete InterruptUBRR port 0x09 ; Baud Rate Registerrestore ; re-enable listingendif ; __reguart90inc