Chapter
6
Software utirity
◆General purpose input
tRasIoRead functions allow you to get the status of General PurposeI/OPort.
Prototype of function
General Purpose Input
BYTE tRasIoRead ( BOOL isRead );
Argument
If TRUE is specified, gets the status of the general-purpose input port.
If FALSE is specified, gets the status of the general-purpose output port.
Return
value
Returns byte data from a port specified by an argument.
For the general purpose input(isRead=TRUE)
bit
7
6
5
4
3
2
1
0
Meaning -
-
-
-
IO4
IO3
IO2
IO1
汎用出力(isRead=FALSE)の場合
bit
7
6
5
4
3
2
1
0
Meaning -
-
-
-
DO4
DO3
DO2
DO1
※ DO3(LED1) and DO4(LED2) are allocated to the two front LEDs.
Header file
TinyRAS.h
Inport library
TinyRAS.lib
DLL file
TinyRAS.dll
The header file and the library file are stored in the place specified when TinyRas is
installed.
(
Initial storage place
:
c:\ Program Files\CONTEC\TinyRAS\
)
Example programming
#include <stdio.h>
#include “TinyRAS.h”
int main ( void ){
BYTE dat=0;
dat = tRasIoRead(TRUE); // Acquiring the state of input port.
printf(“the state of input port %02X\n”, dat);
return 0;
}
92
User’s Manual
Содержание VPC-2000
Страница 1: ...FA PC VPC Series VPC 2000 User s Manual CONTEC CO LTD...
Страница 2: ......
Страница 15: ...Chapter About the product Physical dimensions VPC 2000 mm Figure 2 1 VPC 2000 User s Manual 9...
Страница 18: ...Chapter About the product Motherboard Block chart Figure 2 4 Motherboard Block chart 12 User s Manual...
Страница 85: ...Chapter Software utirity 4 Language select Select a language and click Next 5 Setup Click Next User s Manual 79...
Страница 112: ...Chapter Software utirity 106 User s Manual...
Страница 122: ...Chapter Software RAID setup 3 Check Yes and select Next Input Name and Advanced arbitrarity 116 User s Manual...