166
©Vecow ECX-2000 User Manual
Appendix B
B
APPENDIX B : Software Functions
B.1 Driver API Guide
In Header folder, Vecow.h and VecowLinux.h contain usabled API for Windows/Linux.
BOOL initial_SIO(BYTE Isolate_Type, BYTE DIO_NPN)
Initial machine for IO and watch dogtimer.
Isolate_Type : DIO type.
1 : Isolated DIO;
0 : Non-Isolated DIO(GPIO).
DIO_NPN : DI/DO type.
1 : PNP (Source) mode for European rule;
0 : NPN (Sink) mode for Japanese rule.
Return :
TRUE (1) : Success.
FALSE (0) : Fail (Driver not exists, or version is too old, or machine not
match).
BOOL get_IO1_configuration(BYTE *Iso, BYTE *DI_mode, BYTE *DO_
mode, WORD *Mask)
Get DIO configuration (by variable)
Isolate_Type : DIO type.
1 : Isolated DIO;
0 : Non-Isolated DIO(GPIO).
DI_mode ([7:0]) : DI type, pin setting by hexadecimal bitmask only for
Isolated DIO.
0xFF : PNP (Source) mode for European rule;
0 : NPN (Sink) mode for Japanese rule.
DO_mode : DO type only for Isolated DIO.
1 : PNP (Source) mode for European rule;
0 : NPN (Sink) mode for Japanese rule.
Mask ([15:0]) : In/Out, pin setting by hexadecimal bitmask only for Non-
Isolated DIO (GPIO).
1 : Output;
0 : Input
Return :
TRUE (1) : Success.
FALSE (0) : Fail (Initial error, or call by pointer error, or hardware problem).
Содержание ECX-2000 Series
Страница 122: ...111 Vecow ECX 2000 User Manual SYSTEM SETUP Step 2 Remove plug fan...
Страница 123: ...112 Vecow ECX 2000 User Manual SYSTEM SETUP Step 3 Remove six flat head M3x5L screws and take out cooler...
Страница 128: ...117 Vecow ECX 2000 User Manual SYSTEM SETUP Step 2 Open Cover_Bottom...
Страница 130: ...119 Vecow ECX 2000 User Manual SYSTEM SETUP 3 4 Installing Mini PCIe Card Step 1 Remove three flat head M3x5L screws...
Страница 131: ...120 Vecow ECX 2000 User Manual SYSTEM SETUP Step 2 Open cover bottom...
Страница 137: ...126 Vecow ECX 2000 User Manual SYSTEM SETUP 3 7 2 ECS 2000 series Step 1 Remove three flat head M3x5L screws...
Страница 138: ...127 Vecow ECX 2000 User Manual SYSTEM SETUP Step 2 Open cover bottom Step 3 Remove eight Hexagon M3 Nuts...
Страница 140: ...129 Vecow ECX 2000 User Manual SYSTEM SETUP Step 6 Use eight Hexagon M3 Nuts and fasten bracket SSD HDD...
Страница 141: ...130 Vecow ECX 2000 User Manual SYSTEM SETUP 3 8 Installing M 2 Step 1 Remove three flat head M3x5L screws...
Страница 144: ...133 Vecow ECX 2000 User Manual SYSTEM SETUP Step 6 The position of M 2 NGFF connector...
Страница 147: ...136 Vecow ECX 2000 User Manual SYSTEM SETUP Step 3 Remove hole plug Step 4 Install SMA cable and fasten washer and nut...