Struct uart_16550::SerialPort
[−]
[src]
pub struct SerialPort { /* fields omitted */ }
Methods
impl SerialPort
[src]
pub const fn new(base: u16) -> SerialPort
[src]
pub fn init(&mut self)
[src]
pub fn send(&mut self, data: u8)
[src]
Trait Implementations
impl Write for SerialPort
[src]
fn write_str(&mut self, s: &str) -> Result
[src]
Writes a slice of bytes into this writer, returning whether the write succeeded. Read more
fn write_char(&mut self, c: char) -> Result<(), Error>
1.1.0[src]
Writes a [char
] into this writer, returning whether the write succeeded. Read more
fn write_fmt(&mut self, args: Arguments) -> Result<(), Error>
1.0.0[src]
Glue for usage of the [write!
] macro with implementors of this trait. Read more