pub fn new<T: Into<Hertz>>(frequency: T) -> Self {
            Config {
                baudrate: frequency.into(),
                parity: Parity::ParityNone,
                stopbits: StopBits::STOP1,
                bitorder: BitOrder::LsbFirst,
                clockphase: ClockPhase::First,
                clockpolarity: ClockPolarity::IdleLow,
                lastbitclockpulse: false,
            }
        }
/// Create a default configuration for the USART or UART interface
///
/// * 8 bits, 1 stop bit, no parity (8N1)
/// * LSB first
Create a default configuration for the USART or UART interface
8 bits, 1 stop bit, no parity (8N1)
LSB first
Create a default configuration for the USART or UART interface 8 bits 1 stop bit no parity ( 8N1 ) LSB first
pub fn new<T: Into<Hertz>>(frequency: T) -> Self {
            Config {
                baudrate: frequency.into(),
                parity: Parity::ParityNone,
                stopbits: StopBits::STOP1,
                bitorder: BitOrder::LsbFirst,
                clockphase: ClockPhase::First,
                clockpolarity: ClockPolarity::IdleLow,
                lastbitclockpulse: false,
            }
        }
pub fn new < T : Into < Hertz > > ( frequency : T ) -> Self { Config { baudrate : frequency . into ( ) , parity : Parity :: ParityNone , stopbits : StopBits :: STOP1 , bitorder : BitOrder :: LsbFirst , clockphase : ClockPhase :: First , clockpolarity : ClockPolarity :: IdleLow , lastbitclockpulse : false , } }
Create a default configuration for the USART or UART interface
 8 bits, 1 stop bit, no parity (8N1)
 LSB first
Create a default configuration for the USART or UART interface 8 bits 1 stop bit no parity ( 8N1 ) LSB first
frequency
T
frequency
T