avr: added a note regarding timing.

This commit is contained in:
Martin Preuss
2025-08-19 23:36:58 +02:00
parent 8467408fd8
commit 6c3926c1e4

View File

@@ -324,7 +324,7 @@ com2wSendByte_send1:
rcall com2wDataSetHigh
com2wSendByte_sent:
Utils_WaitNanoSecs 5000, 0, r22 ; wait for very short time to ensure data is stable when clock rises
push r15
push r15 ; TODO: check this (doesn't really ensure short HIGH time!)
in r15, SREG
cli ; ensure time period by disabling irqs
rcall com2wClkSetHigh