avr: added a note regarding timing.
This commit is contained in:
@@ -324,7 +324,7 @@ com2wSendByte_send1:
|
|||||||
rcall com2wDataSetHigh
|
rcall com2wDataSetHigh
|
||||||
com2wSendByte_sent:
|
com2wSendByte_sent:
|
||||||
Utils_WaitNanoSecs 5000, 0, r22 ; wait for very short time to ensure data is stable when clock rises
|
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
|
in r15, SREG
|
||||||
cli ; ensure time period by disabling irqs
|
cli ; ensure time period by disabling irqs
|
||||||
rcall com2wClkSetHigh
|
rcall com2wClkSetHigh
|
||||||
|
|||||||
Reference in New Issue
Block a user