; ***************************************************************************
; 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 AQH_AVR_APPS_FAN_CONTROL_DEFS_ASM
#define AQH_AVR_APPS_FAN_CONTROL_DEFS_ASM


.equ APP_FANCONTROL_STEPS = 5


.equ APP_FANCONTROL_FLASH_OFFS_BEGIN     = TCA_FLASH_SIZE
.equ APP_FANCONTROL_FLASH_OFFS_STEPTABLE = APP_FANCONTROL_FLASH_OFFS_BEGIN+0
.equ APP_FANCONTROL_FLASH_SIZE           = APP_FANCONTROL_FLASH_OFFS_STEPTABLE+(APP_FANCONTROL_STEPS*3)


.equ APP_FANCONTROL_RAM_OFFS_BEGIN       = TCA_RAM_SIZE
.equ APP_FANCONTROL_RAM_OFFS_VALUE_LO    = APP_FANCONTROL_RAM_OFFS_BEGIN+0
.equ APP_FANCONTROL_RAM_OFFS_VALUE_HI    = APP_FANCONTROL_RAM_OFFS_BEGIN+1
.equ APP_FANCONTROL_RAM_SIZE             = APP_FANCONTROL_RAM_OFFS_BEGIN+2


.equ APP_FANCONTROL_EE_OFFS_BEGIN        = TCA_EE_SIZE
.equ APP_FANCONTROL_EE_OFFS_VALUE_LO     = APP_FANCONTROL_EE_OFFS_BEGIN+0
.equ APP_FANCONTROL_EE_OFFS_VALUE_HI     = APP_FANCONTROL_EE_OFFS_BEGIN+1
.equ APP_FANCONTROL_EE_SIZE              = APP_FANCONTROL_EE_OFFS_BEGIN+2


#endif

