/* Reads the values present of the specified Port.  */
unsigned long xGPIOPortRead(unsigned long ulPort)
/* Reads the values present of the specified Port.  */
unsigned long xGPIOPortRead(unsigned long ulPort)
{
    xASSERT(GPIOBaseValid(ulPort));
    return (xHWREG(ulPort +  GPIO_PIN) & 0xffff);
}