minor fixes.

This commit is contained in:
Martin Preuss
2025-09-06 00:41:58 +02:00
parent 6c1e8a45ff
commit 4a74a9990f
2 changed files with 31 additions and 7 deletions

View File

@@ -0,0 +1,31 @@
; ***************************************************************************
; 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 = UDR0
.equ UART_REG_UCSRA = UCSR0A
.equ UART_REG_UCSRB = UCSR0B
.equ UART_REG_UCSRC = UCSR0C
.equ UART_REG_UBRRL = UBRR0L
.equ UART_REG_UBRRH = UBRR0H
.equ UART_BIT_UCSZ0 = UCSZ00
.equ UART_BIT_UDRE = UDRE0
.equ UART_BIT_RXC = RXC0
.equ UART_BIT_TXC = TXC0
.equ UART_BIT_FE = FE0
.equ UART_BIT_DOR = DOR0
.equ UART_BIT_UPE = UPE0
.equ UART_BIT_RXEN = RXEN0
.equ UART_BIT_TXEN = TXEN0