- move IRQ control to main code (only the main code knows exactly which combination of pins is used for com2) - split one big module into multiple smaller files (easier to maintain)
27 lines
860 B
NASM
27 lines
860 B
NASM
; ***************************************************************************
|
|
; copyright : (C) 2026 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. *
|
|
; ***************************************************************************
|
|
|
|
#ifndef AVR_MODULES_COM2W2_DEFS_H
|
|
#define AVR_MODULES_COM2W2_DEFS_H
|
|
|
|
|
|
.equ COM2W2_WAITTIME1 = 25000
|
|
.equ COM2W2_WAITTIME2 = 15000
|
|
|
|
|
|
.equ COM2W2_BUFFER_SIZE = NET_BUFFERS_SIZE-1
|
|
|
|
.equ COM2W2_IFACE_OFFS_BEGIN = NET_IFACE_SIZE
|
|
.equ COM2W2_IFACE_OFFS_BUFFER = COM2W2_IFACE_OFFS_BEGIN+0
|
|
.equ COM2W2_IFACE_SIZE = COM2W2_IFACE_OFFS_BUFFER+COM2W2_BUFFER_SIZE
|
|
|
|
|
|
|
|
#endif
|