put wait routines into their own files.
helps with reducing size of bootloader.
This commit is contained in:
27
avr/common/wait_100us.asm
Normal file
27
avr/common/wait_100us.asm
Normal file
@@ -0,0 +1,27 @@
|
||||
; ***************************************************************************
|
||||
; copyright : (C) 2023 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. *
|
||||
; ***************************************************************************
|
||||
|
||||
|
||||
|
||||
|
||||
; ---------------------------------------------------------------------------
|
||||
; @routine Utils_WaitFor100MicroSecs @global
|
||||
;
|
||||
; wait for about 100 microsecs.
|
||||
;
|
||||
; @clobbers r22
|
||||
|
||||
Utils_WaitFor100MicroSecs:
|
||||
rcall Utils_WaitFor50MicroSecs
|
||||
rcall Utils_WaitFor50MicroSecs
|
||||
ret
|
||||
; @end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user