; ***************************************************************************
; copyright   : (C) 2025 by Martin Preuss
; email       : martin@libchipcard.de
;
; ***************************************************************************
; * This file is part of the project "AqHome".                              *
; * Please see toplevel file COPYING of that project for license details.   *
; ***************************************************************************


.equ UART_REG_UDR   = UDR
.equ UART_REG_UCSRA = UCSRA
.equ UART_REG_UCSRB = UCSRB
.equ UART_REG_UCSRC = UCSRC
.equ UART_REG_UBRRL = UBRRL
.equ UART_REG_UBRRH = UBRRH

.equ UART_BIT_USBS  = USBS
.equ UART_BIT_UCSZ0 = UCSZ0
.equ UART_BIT_UCSZ1 = UCSZ1
.equ UART_BIT_UDRE  = UDRE
.equ UART_BIT_RXC   = RXC
.equ UART_BIT_TXC   = TXC
.equ UART_BIT_FE    = FE
.equ UART_BIT_DOR   = DOR
.equ UART_BIT_UPE   = UPE
.equ UART_BIT_RXEN  = RXEN
.equ UART_BIT_TXEN  = TXEN





