You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the STM32L433's (at least) I2C peripheral has a TIMEOUTR register to configure a (bus busy?) timeout.
it would be nice to have this supported in the I2C API
I guess the constructor could take a timeout value and then operations like read, write, etc. would return an Error::Timeout if the I2C device takes too long to error (or when there's no I2C device attached to the bus) -- the current behavior is that they block forever.
The text was updated successfully, but these errors were encountered:
the STM32L433's (at least) I2C peripheral has a TIMEOUTR register to configure a (bus busy?) timeout.
it would be nice to have this supported in the I2C API
I guess the constructor could take a timeout value and then operations like
read
,write
, etc. would return anError::Timeout
if the I2C device takes too long to error (or when there's no I2C device attached to the bus) -- the current behavior is that they block forever.The text was updated successfully, but these errors were encountered: