/* Reads the values present of the specified pin(s). The values at the specified pin(s) are read, as specified by  */
unsigned long xGPIOPinRead(unsigned long ulPort, unsigned long ulPins)
/* Reads the values present of the specified pin(s). The values at the specified pin(s) are read, as specified by  */
unsigned long xGPIOPinRead(unsigned long ulPort, unsigned long ulPins)
{
	return(xHWREG(ulPort +GPIO_PIN ) & (ulPins)) ? 1 : 0;
}