/* Initializes peripherals used by the I2C EEPROM driver.  */
void sEE_Init(void)
/* Initializes peripherals used by the I2C EEPROM driver.  */
void sEE_Init(void)
{ 
  I2C_InitTypeDef  I2C_InitStructure;
  sEE_I2C_LowLevel_Init();
  I2C_InitStructure.I2C_Mode = I2C_Mode_I2C;
  I2C_InitStructure.I2C_AnalogFilter = I2C_AnalogFilter_Enable;
  I2C_InitStructure.I2C_DigitalFilter = 0x00;
  I2C_InitStructure.I2C_OwnAddress1 = 0x00;
  I2C_InitStructure.I2C_Ack = I2C_Ack_Enable;
  I2C_InitStructure.I2C_AcknowledgedAddress = I2C_AcknowledgedAddress_7bit;
  I2C_InitStructure.I2C_Timing = sEE_I2C_TIMING;
  I2C_Init(sEE_I2C, &I2C_InitStructure);
  I2C_Cmd(sEE_I2C, ENABLE);
  sEEAddress = sEE_HW_ADDRESS;      
}