/* Receives a communication interface byte if one is present.  */
static unsigned char Rs232ReceiveByte(unsigned char *data)
/* Receives a communication interface byte if one is present.  */
static unsigned char Rs232ReceiveByte(unsigned char *data)
{
  signed long result;
  result = UARTCharGetNonBlocking(UART0_BASE);
  if(result != -1)
  {
    *data = (unsigned char)result;
    return 1;
  }
  return 0;
}