uart_16550 0.2.0

Minimal support for uart_16550 serial output.
Documentation

uart_16550

Azure DevOps builds

Minimal support for uart_16550 serial output.

Usage

use uart_16550::SerialPort;

const SERIAL_IO_PORT: u16 = 0x3F8;

let mut serial_port = unsafe { SerialPort::new(SERIAL_IO_PORT) };
serial_port.init();

// Now the serial port is ready to be used. To send a byte:
serial_port.send(42);

License

Licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).