I2C implementation file for CC2538 platform

This file contains the implementation of functions declared in i2c.h to allow to use the I2C peripheral of the CC2538 platform.