added read/write masks for I2C register bank