Recently, some new timeout API methods were added to the AVR Wire library (see arduino/ArduinoCore-avr#42), which should be documented. Given there is no repository ...
These two files in this submission implement timeout for I2C operations in AVR architecture. During streaming sensor data from MATLAB it has been observed that AVR based Arduino boards may get stuck ...