Chapter
6
Software utirity
◆General purpose output
The tRasIoWrite function allows you to control the general-purpose output port.
Prototype of function
General Purpose Output
int tRasIoWrite ( BYTE data);
Argument
Specifies data output to the general-purpose output port.
Output data corresponds to the following bits.
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.
Return
value
When succeeding in executing the function, the specified data is returned.
When failing, the error code is returned.
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 “TinyRAS.h”
int main ( void ){
BYTE dat=0;
dat = tRasIoRead(FALSE);
(dat & 0x08) ? dat &= ~0x08 : dat |= 0x08; // LED:ON
Æ
OFF, OFF
Æ
ON
(void)tRasIoWrite(dat);
return 0;
}
User’s Manual
93
Содержание 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...