drivers/serial/uart_stellaris.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_stellaris_poll_out(struct device *dev,
					     unsigned char c)
{
	volatile struct _uart *uart = UART_STRUCT(dev);
	while (!poll_tx_ready(dev))
		;
	uart->dr = (u32_t)c;
	return c;
}
static unsigned char uart_stellaris_poll_out ( struct device * dev , unsigned char c ) { volatile struct _uart * uart = UART_STRUCT ( dev ) ; while ( ! poll_tx_ready ( dev ) ) ; uart -> dr = ( u32_t ) c ; return c ; }
@brief Output a character in polled mode.
@brief Output a character in polled mode .
/* send a character */