avr: started adding com2wn module (multiple com2w devices in one)
This commit is contained in:
59
avr/modules/com2w/com2wn_data.asm
Normal file
59
avr/modules/com2w/com2wn_data.asm
Normal file
@@ -0,0 +1,59 @@
|
||||
; ***************************************************************************
|
||||
; 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. *
|
||||
; ***************************************************************************
|
||||
|
||||
#ifndef AVR_MODULES_COM2W_COM2WN_DATA_H
|
||||
#define AVR_MODULES_COM2W_COM2WN_DATA_H
|
||||
|
||||
|
||||
.dseg
|
||||
|
||||
|
||||
com2wnIoRingBuffer: .byte RINGBUFFERY_SIZE+COM2WN_IO_RINGBUFFER_SIZE
|
||||
com2wnIoCurrentClockStates: .byte 1
|
||||
com2wnIoLastClockStates: .byte 1
|
||||
com2wnIoFlags: .byte 1
|
||||
|
||||
|
||||
.if COM_PORTS >0
|
||||
com2w0_iface: .byte COM2W_IFACE_SIZE
|
||||
.endif
|
||||
|
||||
.if COM_PORTS >1
|
||||
com2w1_iface: .byte COM2W_IFACE_SIZE
|
||||
.endif
|
||||
|
||||
.if COM_PORTS >2
|
||||
com2w2_iface: .byte COM2W_IFACE_SIZE
|
||||
.endif
|
||||
|
||||
.if COM_PORTS >3
|
||||
com2w3_iface: .byte COM2W_IFACE_SIZE
|
||||
.endif
|
||||
|
||||
.if COM_PORTS >4
|
||||
com2w4_iface: .byte COM2W_IFACE_SIZE
|
||||
.endif
|
||||
|
||||
.if COM_PORTS >5
|
||||
com2w5_iface: .byte COM2W_IFACE_SIZE
|
||||
.endif
|
||||
|
||||
.if COM_PORTS >6
|
||||
com2w6_iface: .byte COM2W_IFACE_SIZE
|
||||
.endif
|
||||
|
||||
.if COM_PORTS >7
|
||||
com2w7_iface: .byte COM2W_IFACE_SIZE
|
||||
.endif
|
||||
|
||||
|
||||
|
||||
|
||||
#endif ; AVR_MODULES_COM2W_COM2WN_DATA_H
|
||||
|
||||
Reference in New Issue
Block a user