Type 2: COM port
Function Description
InstallCom
Installs the COM Port driver. The COM Port number is not
assigned
InstallCom1 Installs the driver for COM1
InstallCom2 Installs the driver for COM2
RestallCom
Uninstalls the drivers for the COM Port. The COM Port
number is not assigned
RestallCom1
Uninstalls the driver for COM1. Assigned to COM1
RestallCom2 and etc are similar
IsCom
Check if Com has data. The COM Port number is not
assigned
IsCom1
Checks if any data is waiting in the COM1 buffer
IsCom2…
Checks if any data is waiting in the COM2 buffer
ClearCom
Clears all the data currently stored in the COM Port Buffer.
The COM Port number is not assigned
ClearCom1 Clears all the data currently stored in the COM1 buffer
ClearCom2 Clears all the data currently stored in the COM2 buffer
ReadCom
Reads the data from COM Port buffer. The COM Port
number is not assigned
ReadCom1 Reads data from the COM1 buffer
ReadCom2 Reads data from the COM2 buffer
ToCom
Sends data to the COM Port. The COM Port number is not
assigned
ToCom1
Sends data to the COM1
ToCom2
Sends data to the COM2
printCom
Prints any data currently stored in the COM Port buffer.
The COM Port number is not assigned
printCom1
Prints any data currently stored in the COM1
printCom2
Prints any data currently stored in the COM2
…More…
There are more functions available for use with COM
Ports. Please refer to the 7188xc.h file and
CD:\Napdos\MiniOS7\document\Lib_Manual_For_7188XABC\index.htm
Note:
The
and
printCom
function cannot be used simultaneously
in the same program.
I-7188XC Series User’s Manual(Ver.1.0, Apr/2007,7MH-21-10) ---
101
Содержание I-7188XC Series
Страница 87: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 87...
Страница 136: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 136...
Страница 142: ...Step 8 Make the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 142...
Страница 149: ...Step 8 Rebuild the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 149...