Function InstallCom8000

Description Installs multi-serial module on specified slot of I-8000 MCU.

Default setting is 
        Input buffer size : 1024 bytes
        Output buffer size : 1024 bytes
        Baudrate : 9600 bps
        Data format : none parity, 8 data bits, 1 stop bit
This function is used for C/C++ compiler.

Function Prototype int InstallCom8000(int slot)
Return 0 : no error
-1 : hardware is not multi-serial module
-2 : not enough memory size
slot 0 ~ 3 for 4 slots
0 ~ 7 for 8 slots

Example
Function Ret=InstallCom8000(0);
Return 0 (success)
Description Installs one multi-serial module on slot 0 of I-8000 MCU

Reference SetInBufSize
SetOutBufSize
InstallCom8000
_SetBaudrate
_SetDataFormat
RestoreCom8000
IsCom8000
ToCom8000
ToCom8000Str
ToCom8000nBytes
ReadCom8000
ReadCom8000nBytes

Modules I-8112, I-8114, I-8142, I-8144

Back to Previous Page