Content originally posted in LPCWare by JSalisbury on Thu Jun 09 07:58:36 MST 2011
Hi,
I notice in the RS485.C example there is the code such as;
if ( (LPC_UART->FIFOLVL & 0x0F0F) != 0x0 )
{
while ( LPC_UART->LSR & LSR_RDR )
{
Dummy = LPC_UART->RBR; /* Clear data from RX FIFO */
garbageCount++;
}
}
and FIFOLVL is not mentioned in the LPC1114 user manual. Does FIFOLVL actualy work?
Thanks