From 3af514d946f97f4c983ae36286974884e87f6abf Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Wed, 18 Sep 2024 00:09:35 +0200 Subject: [PATCH] avr: add Utils_WaitFor100MicroSecs --- avr/common/utils_wait_fixed.asm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/avr/common/utils_wait_fixed.asm b/avr/common/utils_wait_fixed.asm index 028774d..9be3aba 100644 --- a/avr/common/utils_wait_fixed.asm +++ b/avr/common/utils_wait_fixed.asm @@ -36,3 +36,21 @@ Utils_WaitFor50MicroSecs: ret ; @end + + +; --------------------------------------------------------------------------- +; @routine Utils_WaitFor100MicroSecs @global +; +; wait for about 100 microsecs. +; +; @clobbers r22 + +Utils_WaitFor100MicroSecs: + rcall Utils_WaitFor50MicroSecs + rcall Utils_WaitFor50MicroSecs + ret +; @end + + + +