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



; ***************************************************************************
; code

.cseg



; ---------------------------------------------------------------------------
; @routine onSystemTimerTick
;
; Called every 100ms. No arguments, no results.

modulesOnEvery100ms:

#ifdef MODULES_CLOCK
  bigcall Clock_Every100ms           ; generates calls to onEverySecond/Minute/Hour/Day
#endif

#ifdef MODULES_LED1
  bigcall Led1_Every100ms
#endif

#ifdef MODULES_LED2
  bigcall Led2_Every100ms
#endif

#ifdef MODULES_LED3
  bigcall Led3_Every100ms
#endif

#ifdef MODULES_BEEPER_SIMPLE
  bigcall BeeperSimple_Every100ms
#endif

#ifdef MODULES_UART_BITBANG
  bigcall UART_BitBang_Every100ms
#endif

#ifdef MODULES_UART_HW
  bigcall NET_Uart_Every100ms
#endif

#ifdef MODULES_TTYONUART1
  bigcall TtyOnUart1_Periodically
#endif

#ifdef MODULES_UARTFD0
  bigcall UARTFD0_Every100ms
#endif

#ifdef MODULES_UARTFD1
  bigcall UARTFD1_Every100ms
#endif

#ifdef MODULES_COMONUART0
  bigcall ComOnUart0_Periodically
#endif

#ifdef MODULES_COMONUART1
  bigcall ComOnUart1_Periodically
#endif

#ifdef MODULES_COM2W
  bigcall COM2W_Every100ms
#endif

#ifdef MODULES_COM2W2
  bigcall COM2W2_Every100ms
#endif

#ifdef MODULES_COM2W0
  bigcall COM2W0_Periodically
#endif

#ifdef MODULES_COM2W1
  bigcall COM2W1_Periodically
#endif

#ifdef MODULES_COM2WN
  bigcall COM2WN_Periodically
#endif

#ifdef MODULES_TCRT1000
  bigcall TCRT1K_Every100ms
#endif

#ifdef MODULES_BRIGHTNESS
  bigcall Brightness_Every100ms
#endif

#ifdef MODULES_XPT2046
  bigcall XPT2046_Every100ms
#endif

  ret
; @end



#endif

