Skip to main content

pamoja_serial_settings

Function pamoja_serial_settings 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_serial_settings( baud: u32, ) -> PamojaSerialSettings
Expand description

Returns the format most devices start in: eight data bits, no parity, one stop bit.

§Arguments

  • baud - the speed, in bits a second.

§Returns

The settings.