Skip to main content

init_serial

Function init_serial 

Source
fn init_serial<B: Backend>(
    uart: Uart16550<B>,
    baud_rate: u32,
) -> Option<Uart16550Tty<B>>
Expand description

Initializes the serial device at the speed advertised by the host, which is also passed to Linux. Returns None if the device isn’t present or the speed is invalid.