Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
MabezDev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using
I2C async
with embassy.To perform an operation and provide a timeout to that operation I see two options:
new_with_timeout_async
(which is a timeout on the device)with_timeout
on the operation (providing a duration to limit operation waiting time)My questions:
new_with_timeout_async
? Is it on the entire operation or on just every I2C ack or something else?new_with_timeout_async
(like maybe it stops the operation on the bus when timeout occurs) vs. using embassy to timeout (maybe in that case the operation continues the can't start a new operation later because the I2C is sort of 'stuck' with the previous operation because it wasn't issued with timeout and is not aware embassy moved on)?Beta Was this translation helpful? Give feedback.
All reactions