/* Enable the interrupt mode for the selected IO pin(s).  */
void stmpe1600_IO_EnablePinIT(uint16_t DeviceAddr, uint32_t IO_Pin)
/* Enable the interrupt mode for the selected IO pin(s).  */
void stmpe1600_IO_EnablePinIT(uint16_t DeviceAddr, uint32_t IO_Pin)
{
  uint8_t tmpData[2] = {0 , 0};
  stmpe1600_EnableGlobalIT(DeviceAddr);
  IOE_ReadMultiple(DeviceAddr, STMPE1600_REG_IEGPIOR, tmpData, 2);
  tmp = ((uint16_t)tmpData[0] | (((uint16_t)tmpData[1]) << 8));
  tmp |= (uint16_t)IO_Pin;
  IOE_WriteMultiple(DeviceAddr, STMPE1600_REG_IEGPIOR, (uint8_t *)&tmp, 2);
}