/* Checks the selected Global interrupt source pending bit.  */
FlagStatus IOE_GetGITStatus(uint8_t DeviceAddr, uint8_t Global_IT)
/* Checks the selected Global interrupt source pending bit.  */
FlagStatus IOE_GetGITStatus(uint8_t DeviceAddr, uint8_t Global_IT)
{
  __IO uint8_t tmp = 0;
  tmp = I2C_ReadDeviceRegister(DeviceAddr, IOE_REG_INT_STA);
  if ((tmp & (uint8_t)Global_IT) != 0)
  {
    return SET;
  }
  else
  {
    return RESET;
  }
}