/* THRE status, contain valid data */ while ( !(UART1TxEmpty & 0x01) ); LPC_UART1->THR = *BufferPtr; UART1TxEmpty = 0; /* not empty in the THR until it shifts out */ |
/* THRE status, contain valid data */ while ( !(UART3TxEmpty & 0x01) ); UART3TxEmpty = 0; /* not empty in the THR until it shifts out */ LPC_UART3->THR = *BufferPtr; |