Function serial_port::get_serial_port
source · pub fn get_serial_port(
serial_port_address: SerialPortAddress
) -> Option<&'static Arc<IrqSafeMutex<SerialPort>>>
Expand description
Obtains a reference to the SerialPort
specified by the given SerialPortAddress
,
if it has been initialized (see init_serial_port()
).