/* Start the IO functionality use and disable the AF for selected IO pin(s).  */
void stmpe811_IO_Start(uint16_t DeviceAddr, uint32_t IO_Pin)
/* Start the IO functionality use and disable the AF for selected IO pin(s).  */
void stmpe811_IO_Start(uint16_t DeviceAddr, uint32_t IO_Pin)
{
  uint8_t mode;
  mode = IOE_Read(DeviceAddr, STMPE811_REG_SYS_CTRL2);    
  mode &= ~(STMPE811_IO_FCT | STMPE811_ADC_FCT);  
  IOE_Write(DeviceAddr, STMPE811_REG_SYS_CTRL2, mode);
  stmpe811_IO_DisableAF(DeviceAddr, (uint8_t)IO_Pin);
}