avr started working on irq driven uart module.

will be used for routers and usb-serial interface.
This commit is contained in:
Martin Preuss
2024-10-31 18:50:53 +01:00
parent dfad168875
commit 7707cb0a82
3 changed files with 662 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
; ***************************************************************************
; copyright : (C) 2024 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. *
; ***************************************************************************
.dseg
uartIrqDataIface1: .byte UART_IRQ_IFACE_SIZE
.cseg
UART_Irq_Iface1_HandleTick:
m_uart_irq_handle_tick \
COM_RXD_DDR, COM_RXD_INPUT, COM_RXD_OUTPUT, COM_RXD_PIN, \
COM_ATTN_DDR, COM_ATTN_INPUT, COM_ATTN_OUTPUT, COM_ATTN_PIN, \
uartIrqDataIface1