Skip to main content

pamoja_serial_settings_character_nanos

Function pamoja_serial_settings_character_nanos 

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

Returns how long one character takes on the wire.

§Arguments

  • settings - the speed and format.

§Returns

The time in nanoseconds, rounded up, or 0 for settings the port does not accept.