/* Initializes and Configures the IO_Expanders Functionalities (Touch Screen ..) and configures all STM32100E-EVAL necessary hardware (GPIOs, APB clocks ..).  */
uint8_t IOE_Config(void)
/* Initializes and Configures the IO_Expanders Functionalities (Touch Screen ..) and configures all STM32100E-EVAL necessary hardware (GPIOs, APB clocks ..).  */
uint8_t IOE_Config(void)
{
  IOE_GPIO_Config();
  IOE_I2C_Config();
  if(IOE_IsOperational(IOE_1_ADDR))
  {
    return IOE1_NOT_OPERATIONAL;
  }
  IOE_Reset(IOE_1_ADDR);
  IOE_FnctCmd(IOE_1_ADDR, IOE_TS_FCT | IOE_ADC_FCT | IOE_IO_FCT | IOE_TEMPSENS_FCT  , ENABLE);
  IOE_TS_Config();
  IOE_TempSens_Config();
  return IOE_OK; 
}