131
©
Echo 246F
User Manual
Appendix B
B
APPENDIX B : Software Functions
B.1 Driver API Guide
In Runtime folder, on ECX1K.h :
_DLL_IMPORT_ definition is used on LoadLibrary API for ECX1K.dll.
ECX1K_EXPORTS definition is used on ECX1K.dll building.
Otherwise, that is used to compile with ECX1K.lib.
BOOL Initial (BYTE Isolate_Type, BYTE DIO_NPN)
Initial machine for DIO, watchdog timer, and POE
Isolate_Type : DIO type
1 : Isolated DIO;
0 : Non-Isolated DIO
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 initial error (version is too old, or
machine not match))
BOOL GetDIO1Config (BYTE *Isolate_Type, BYTE *DI_NPN, BYTE *DO_
NPN, WORD *Mask)
Get DIO configuration (by variable)
Isolate_Type : DIO type
1 : Isolated DIO;
0 : Non-Isolated DIO
DI_NPN ([7 : 0]): DI type, pin setting by hexadecimal bitmask
1 : PNP (Source) mode for European rule;
0 : NPN (Sink) mode for Japanese rule
DO_NPN : DO type
1 : PNP (Source) mode for European rule;
0 : NPN (Sink) mode for Japanese rule
Mask ([15:0]): In/Out, pin setting by hexadecimal bitmask
1 : Output; 0 : Input
Return :
TRUE (1): Success;
FALSE (0): Fail (Initial error, or call by pointer error, or hardware problem)
Содержание Echo246F
Страница 81: ...73 Echo 246F User Manual SYSTEM SETUP Step 6 Remove the SATA cable and SATA power cables Step 7 Finished ...
Страница 87: ...79 Echo 246F User Manual SYSTEM SETUP Step 5 Unlock the CPU socket Step 6 Open the CPU socket cover ...
Страница 88: ...80 Echo 246F User Manual SYSTEM SETUP Step 7 Watch out the direction of CPU Step 8 Put CPU into the CPU socket ...
Страница 93: ...85 Echo 246F User Manual SYSTEM SETUP Step 7 Open the CPU socket cover Step 8 Watch out the direction of CPU ...
Страница 95: ...87 Echo 246F User Manual SYSTEM SETUP Step 11 Finished ...
Страница 97: ...89 Echo 246F User Manual SYSTEM SETUP Step 3 Install DDR4 RAM module into SO DIMM socket ...
Страница 99: ...91 Echo 246F User Manual SYSTEM SETUP Step 3 Install Mini PCIe card into socket ...
Страница 101: ...93 Echo 246F User Manual SYSTEM SETUP Step 4 Fasten washer 1 and 2 Step 5 Finished ...