From deddf42379fb55508c47c62f5ef0090087c39b3f Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Thu, 29 May 2025 14:32:48 +0200 Subject: [PATCH] First try to unify ATTN handling. --- avr/devices/all/attn.asm | 278 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 278 insertions(+) create mode 100644 avr/devices/all/attn.asm diff --git a/avr/devices/all/attn.asm b/avr/devices/all/attn.asm new file mode 100644 index 0000000..6143e72 --- /dev/null +++ b/avr/devices/all/attn.asm @@ -0,0 +1,278 @@ +; *************************************************************************** +; 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. * +; *************************************************************************** + +; not used for now + + + +; *************************************************************************** +; macros + + +.macro mAttnInitInt0 + ; select falling edge of ATTN + inr r16, MCUCR + cbr r16, (1<