pub fn port_settings() -> serial::PortSettings {
    serial::PortSettings {
        baud_rate: serial::BaudRate::Baud115200,
        char_size: serial::CharSize::Bits8,
        parity: serial::Parity::ParityNone,
        stop_bits: serial::StopBits::Stop1,
        flow_control: serial::FlowControl::FlowNone,
    }
}
/// Default serial port settings.
///
/// It's recommended to change only the baudrate since all other
/// options are the same for all Texas Instruments devices.
Default serial port settings.
It's recommended to change only the baudrate since all other
options are the same for all Texas Instruments devices.
Default serial port settings . It ' s recommended to change only the baudrate since all other options are the same for all Texas Instruments devices .
pub fn port_settings() -> serial::PortSettings {
    serial::PortSettings {
        baud_rate: serial::BaudRate::Baud115200,
        char_size: serial::CharSize::Bits8,
        parity: serial::Parity::ParityNone,
        stop_bits: serial::StopBits::Stop1,
        flow_control: serial::FlowControl::FlowNone,
    }
}
pub fn port_settings ( ) -> serial :: PortSettings { serial :: PortSettings { baud_rate : serial :: BaudRate :: Baud115200 , char_size : serial :: CharSize :: Bits8 , parity : serial :: Parity :: ParityNone , stop_bits : serial :: StopBits :: Stop1 , flow_control : serial :: FlowControl :: FlowNone , } }
Default serial port settings.
Default serial port settings .