Skip to main content

pamoja_serial_port_kind

Function pamoja_serial_port_kind 

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

Returns what is on the other end of a port.

§Arguments

  • port - the port.

§Returns

One of the PAMOJA_SERIAL_PORT_ kinds; the looped code for a null port.

§Safety

port must be a live handle or null.