Refactors i2c_2 to match the structure of i2c_1 better. Corrects functionality issues. Allows the common implementation of read_regs and write_regs. Documents constraints of hardware. Matches error messages with API.
Refactors i2c_2 to match the structure of i2c_1 better. Corrects functionality issues. Allows the common implementation of read_regs and write_regs. Documents constraints of hardware. Matches error messages with API.