/* Write a value to the specified pin(s). Write the corresponding bit values to the output pin(s) specified by  */
void xGPIOPinWrite(unsigned long ulPort, unsigned long ulPins, unsigned long ucVal)
/* Write a value to the specified pin(s). Write the corresponding bit values to the output pin(s) specified by  */
void xGPIOPinWrite(unsigned long ulPort, unsigned long ulPins, unsigned long ucVal)
{
	if(ucVal)
	{
	    xHWREG(ulPort +GPIO_DOUT ) |= ulPins;
	}
	else {
		xHWREG(ulPort +GPIO_DOUT ) &= ~ulPins;
	}
}