Skip to main content

pamoja_serial_port_settings

Function pamoja_serial_port_settings 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_serial_port_settings( port: *const PamojaSerialPort, ) -> PamojaSerialSettings
Expand description

Returns the speed and format a port runs at.

§Arguments

  • port - the port.

§Returns

The settings, or 9600 8N1 for a null port.

§Safety

port must be a live handle or null.