; ***************************************************************************
; 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   = UDR1
.equ  UART_REG_UCSRA = UCSR1A
.equ  UART_REG_UCSRB = UCSR1B
.equ  UART_REG_UCSRC = UCSR1C
.equ  UART_REG_UBRRL = UBRR1L
.equ  UART_REG_UBRRH = UBRR1H

.equ  UART_BIT_UCSZ0 = UCSZ10
.equ  UART_BIT_UDRE  = UDRE1
.equ  UART_BIT_RXC   = RXC1
.equ  UART_BIT_TXC   = TXC1
.equ  UART_BIT_FE    = FE1
.equ  UART_BIT_DOR   = DOR1
.equ  UART_BIT_UPE   = UPE1
.equ  UART_BIT_RXEN  = RXEN1
.equ  UART_BIT_TXEN  = TXEN1




