started working on AtMega8515 module C1.

This commit is contained in:
Martin Preuss
2025-05-17 10:50:09 +02:00
parent 5a46db37c1
commit 21c2c60f4f
29 changed files with 1893 additions and 422 deletions

View File

@@ -0,0 +1,32 @@
; ***************************************************************************
; 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_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