pub unsafe extern "C" fn CS101_Master_create(
port: SerialPort,
llParameters: LinkLayerParameters,
alParameters: CS101_AppLayerParameters,
mode: IEC60870_LinkLayerMode,
) -> CS101_MasterExpand description
Create a new master instance
§Arguments
port- the serial port to usellParameters- the link layer parameters to usealParameters- the application layer parameters to usemode- the link layer mode (either IEC60870_LINK_LAYER_BALANCED or IEC60870_LINK_LAYER_UNBALANCED)
§Returns
the new CS101_Master instance