Moved each i2c mode into separate files