Uart rbr

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Uart rbr

619 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by 12345 on Fri Jun 03 01:00:14 MST 2011
It is regarding UART.     

      while ( LPC_UART->LSR & LSR_RDR )
{
    regVal = LPC_UART->RBR;/* Dump data from RX FIFO */
  }

        After dumping, why is the RBR still not empty?

      Containing something like [10] [92] [10] [04] ?
0 Kudos
Reply
1 Reply

609 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Mon Jun 06 08:37:28 MST 2011
Hello 12345,

only a copy is made, original stays intact.
0 Kudos
Reply