pub unsafe extern "C" fn uart_poll_out(
dev: *const device,
out_char: u8,
)Expand description
@brief Write a character to the device for output.
This routine checks if the transmitter is full. When the transmitter is not full, it writes a character to the data register. It waits and blocks the calling thread otherwise. This function is a blocking call. It blocks the calling thread until the character is sent.
To send a character when hardware flow control is enabled, the handshake signal CTS must be asserted.
@param dev UART device instance. @param out_char Character to send.