Add I2C baudrate generation code.