Merging the new i2c bit shift code into hr_port