Skip to main content

pamoja_serial_settings_bits_per_character

Function pamoja_serial_settings_bits_per_character 

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

Returns the bits one character takes on the wire: a start bit, eight data bits, the parity bit if there is one, and the stop bits.

§Arguments

  • settings - the format.

§Returns

The bit count, or 0 for settings the port does not accept.