From 8188f33345a0e59c5e5404c6fac98f01ea09b3a5 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sun, 1 Jun 2025 19:25:47 +0200 Subject: [PATCH] uart_bitbang2: introduced macros for ATTN irq setup. --- avr/modules/uart_bitbang2/iface.asm | 52 ++++++++++++++++++----------- 1 file changed, 32 insertions(+), 20 deletions(-) diff --git a/avr/modules/uart_bitbang2/iface.asm b/avr/modules/uart_bitbang2/iface.asm index 99167ee..735c9c5 100644 --- a/avr/modules/uart_bitbang2/iface.asm +++ b/avr/modules/uart_bitbang2/iface.asm @@ -20,6 +20,35 @@ +; *************************************************************************** +; macros + + +.macro mUartBitbangSetupInt0 + inr r16, MCUCR + cbr r16, (1<