avr: added a note about the wait macro.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user