struct Uart16550Port
pub struct Uart16550Port {
pub port u16
}Purpose
Structure encapsulating port.
Public fields
portu16- port
#core/uartStandard library package `#core/uart`.
struct Uart16550Portpub struct Uart16550Port {
pub port u16
}Structure encapsulating port.
port u16uart16550_port_newpub fn uart16550_port_new(port u16) Uart16550PortUart16550 port new.
port u16Uart16550Port — a value of this type
(Uart16550Port) initpub fn (u Uart16550Port) init()Initialize internal state and default parameters.
u Uart16550PortUart16550Port instance used by this call (value receiver).This call does not return a value.
(Uart16550Port) putcpub fn (u Uart16550Port) putc(b u8)Execute putc on Uart16550Port.
u Uart16550PortUart16550Port instance used by this call (value receiver).b u8This call does not return a value.
(Uart16550Port) putspub fn (u Uart16550Port) puts(s &string)Execute puts on Uart16550Port.
u Uart16550PortUart16550Port instance used by this call (value receiver).s &stringThis call does not return a value.
(Uart16550Port) try_getcpub fn (u Uart16550Port) try_getc() intOperation on Uart16550Port: try getc.
u Uart16550PortUart16550Port instance used by this call (value receiver).int — a value of this type
struct Uart16550Mmiopub struct Uart16550Mmio {
pub base u64
}Structure encapsulating base.
base u64uart16550_mmio_newpub fn uart16550_mmio_new(base u64) Uart16550MmioUart16550 mmio new.
base u64Uart16550Mmio — a value of this type
(Uart16550Mmio) initpub fn (u Uart16550Mmio) init()Initialize internal state and default parameters.
u Uart16550MmioUart16550Mmio instance used by this call (value receiver).This call does not return a value.
(Uart16550Mmio) putcpub fn (u Uart16550Mmio) putc(b u8)Execute putc on Uart16550Mmio.
u Uart16550MmioUart16550Mmio instance used by this call (value receiver).b u8This call does not return a value.
(Uart16550Mmio) putspub fn (u Uart16550Mmio) puts(s &string)Execute puts on Uart16550Mmio.
u Uart16550MmioUart16550Mmio instance used by this call (value receiver).s &stringThis call does not return a value.
(Uart16550Mmio) try_getcpub fn (u Uart16550Mmio) try_getc() intOperation on Uart16550Mmio: try getc.
u Uart16550MmioUart16550Mmio instance used by this call (value receiver).int — a value of this type
struct UartPl011pub struct UartPl011 {
pub base u64
}Structure encapsulating base.
base u64uart_pl011_newpub fn uart_pl011_new(base u64) UartPl011Uart pl011 new.
base u64UartPl011 — a value of this type
(UartPl011) initpub fn (u UartPl011) init()Initialize internal state and default parameters.
u UartPl011UartPl011 instance used by this call (value receiver).This call does not return a value.
(UartPl011) putcpub fn (u UartPl011) putc(b u8)Execute putc on UartPl011.
u UartPl011UartPl011 instance used by this call (value receiver).b u8This call does not return a value.
(UartPl011) putspub fn (u UartPl011) puts(s &string)Execute puts on UartPl011.
u UartPl011UartPl011 instance used by this call (value receiver).s &stringThis call does not return a value.
(UartPl011) try_getcpub fn (u UartPl011) try_getc() intOperation on UartPl011: try getc.
u UartPl011UartPl011 instance used by this call (value receiver).int — a value of this type