Description: Checks whether there is any data stored in the COM
Port buffer. The COM Port number is not assigned and
can be modified using the “port” parameter.
port: assigns the COM port number
Example: Please refer to “InstallCom()” for an example.
IsCom1()
Function: Checks
whether
there
is
any data stored in the buffer of
COM1.
Syntax
int IsCom1(void);
Header: #include
”7188xb.h”
Description: Checks whether there is any data stored in the buffer of
COM1
Example: Please refer to “InstallCom1()” for an example.
ReadCom()
Function: Reads data from the COM Port buffer. The COM Port
number is not assigned.
Syntax:
int ReadCom(int port);
Header: #include
”7188xb.h”
Description: Reads data from the COM Port buffer. The COM Port
number is not assigned and can be modified using the
“port” parameter.
port: assigns the COM Port number
Example: Please refer to “InstallCom()” for an example.
ReadCom1()
Function: Reads data from the buffer of COM1.
Syntax:
int ReadCom1(void);
Header: #include
”7188xb.h”
Description: Reads data from the buffer of COM1. Assigned to
COM1.
Example: Please refer to “InstallCom1()” for an example.
ClearCom()
Function: Clears the data currently stored in the COM Port buffer.
The COM Port number is not assigned.
Syntax:
int ClearCom(int port);
I-7188XB Series User’s Manual(Ver.1.0, Apr/2007,
7MH-020-10
) ---
106
Содержание I-7188XB Series
Страница 88: ...I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 88...
Страница 138: ...I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 138...
Страница 144: ...Step 8 Make the project I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 144...
Страница 151: ...Step 8 Rebuild the project I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 151...