The TivaWare 2.1.0.12573 examples/boards/dk-tm4c123g/uart_echo/uart_echo.c contains the following function:
//*****************************************************************************
//
// Send a string to the UART.
//
//*****************************************************************************
void
UARTSend(const uint8_t *pui8Buffer, uint32_t ui32Count)
{
//
// Loop while there are more characters to send.
//
while(ui32Count--)
{
//
// Write the next character to the UART.
//
ROM_UARTCharPutNonBlocking(UART0_BASE, *pui8Buffer++);
}
}
The use of ROM_UARTCharPutNonBlocking means that the UARTSend function will discard characters from the string if there is insufficient space in the Tx FIFO for the string.
To avoid confusion, should the example be re-worked to either comment this behaviour or use ROM_UARTCharPut instread?
