module metal.drivers.serial
Code Map
module metal.drivers.serial;
struct Serial
{
public:
alias write = sink;
public:
port: u16;
public:
fn off(off: u16) u16 { }
fn setup(port: u16) { }
fn writeEmpty() bool { }
fn sink(str: scope (const(scope (char)[])) { }
fn write(a: char) { }
fn writeln() { }
fn writeln(str: scope (const(scope (char)[])) { }
}
global com1: Serial;