/* Clarify whether Raw Data FIFO buffer is empty. */
BOOLEAN IsRawFiFoEmpty(TERMINAL_DEV *TerminalDevice)
/* Clarify whether Raw Data FIFO buffer is empty. */
BOOLEAN IsRawFiFoEmpty(TERMINAL_DEV *TerminalDevice)
{
  if (TerminalDevice->RawFiFo->Head == TerminalDevice->RawFiFo->Tail) {
    return TRUE;
  } else {
    return FALSE;
  }
}