I would like to use I2C as a master. The Wire library seems to use busy-wait polling when transmitting or receiving as master. The same library has callback functions that are invoked by interrupt when working as a slave.
The question is: has anyone ever adapted the library to work with interrupt-driven callback for the master operations? How complex would this be?