Files
aqhomecontrol/avr/modules/com2w/com2wn_data.asm
2025-09-01 23:25:02 +02:00

61 lines
1.3 KiB
NASM

; ***************************************************************************
; 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
com2wnIoDisabledClockMask: .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