avr started working on irq driven uart module.
will be used for routers and usb-serial interface.
This commit is contained in:
27
avr/modules/uart_irq/iface1.asm
Normal file
27
avr/modules/uart_irq/iface1.asm
Normal 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user