Struct uart_16550::MmioSerialPort[][src]

pub struct MmioSerialPort { /* fields omitted */ }
Expand description

A memory-mapped UART.

Implementations

Creates a new UART interface on the given memory mapped address.

This function is unsafe because the caller must ensure that the given base address really points to a serial port device.

Initializes the memory-mapped UART.

The default configuration of 38400/8-N-1 is used.

Sends a byte on the serial port.

Receives a byte on the serial port.

Trait Implementations

Writes a string slice into this writer, returning whether the write succeeded. Read more

Writes a char into this writer, returning whether the write succeeded. Read more

Glue for usage of the write! macro with implementors of this trait. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.