avr: added a note about the wait macro.

This commit is contained in:
Martin Preuss
2023-04-22 16:37:37 +02:00
parent ad925c38ab
commit 4bf20fb032

View File

@@ -19,6 +19,9 @@
; ---------------------------------------------------------------------------
; Utils_WaitNanoSecs waittime_in_ns , cyles_already_used , waitcount_register
;
; Please note: times smaller than 5000 are unreliable on 1MHZ AtTiny84 (takes much longer
; than requested, probably due to the fact that one cpu instrction already takes 1us to 2us).
;
; cycles already used will be subtracted from the delay
; the waittime resolution is 1 cycle (delay from exact to +1 cycle)
; the maximum delay at 20MHz (50ns/clock) is 38350ns