Added major functions for IIC communication.