Struct uart_16550::SerialPort [−][src]
pub struct SerialPort { /* fields omitted */ }
This is supported on x86-64 only.
Expand description
A port-mapped UART.
Implementations
Creates a new serial port interface on the given I/O port.
This function is unsafe because the caller must ensure that the given base address really points to a serial port device.
Initializes the serial port.
The default configuration of 38400/8-N-1 is used.
Sends a raw byte on the serial port, intended for binary data.
Trait Implementations
Writes a string slice into this writer, returning whether the write succeeded. Read more