drivers/serial/uart_nxp_lpc1xxx.c
static unsigned char uart_lpc_poll_out(struct device *dev,
					     unsigned char c)
{
	volatile  _uart *uart = UART_STRUCT(dev);


	while (((uart->LSR) & UART_LSR_THRE) == 0)
		{}
	uart->THR = (uint32_t) c;
}
/**
 * @brief Output a character in polled mode.
 *
 * Checks if the transmitter is empty. If empty, a character is written to
 * the data register.
 *
 * @param dev UART device struct
 * @param c Character to send
 *
 * @return Sent character
 */
@brief Output a character in polled mode.
Checks if the transmitter is empty. If empty, a character is written to
the data register.

@param dev UART device struct
@param c Character to send

@return Sent character
@brief Output a character in polled mode . Checks if the transmitter is empty . If empty a character is written to the data register . @param dev UART device struct @param c Character to send @return Sent character
static unsigned char uart_lpc_poll_out(struct device *dev,
					     unsigned char c)
{
	volatile  _uart *uart = UART_STRUCT(dev);
	while (((uart->LSR) & UART_LSR_THRE) == 0)
		{}
	uart->THR = (uint32_t) c;
}
static unsigned char uart_lpc_poll_out ( struct device * dev , unsigned char c ) { volatile _uart * uart = UART_STRUCT ( dev ) ; while ( ( ( uart -> LSR ) & UART_LSR_THRE ) == 0 ) { } uart -> THR = ( uint32_t ) c ; }
@brief Output a character in polled mode.
@brief Output a character in polled mode .