-
Notifications
You must be signed in to change notification settings - Fork 236
Closed
Labels
Description
Is there a hardware agnostic way for a driver to poll an I2C bus and return the information whether or not a NACK was received?
This seems possible in the concrete HAL implementations (e.g. in the stm32l0xx-hal
), but embedded-hal
doesn't seem to offer any predefined errors.
Right now I'm simply using a blocking delay to wait the max duration until a sensor measurement is ready, but polling would be cleaner.
david-sawatzke, eldruin, hlukasz, luojia65, ryan-summers and 2 more