Appendix B : Software Functions - Vecow EXBC-1000 User Manual

Intel xeon/core i7/i5/i3 processor 5.25" single board computer workstation-grade, 4 gige lan, 4 10g usb, 4 com, 1 pcie, sumit a, b
Table of Contents

Advertisement

B

APPENDIX B : Software Functions

B.1 Driver API Guide
In Runtime folder, on EXBC1K.h :
_DLL_IMPORT_ definition is used on LoadLibrary API for EXBC1K.dll.
EXBC1K_EXPORTS definition is used on EXBC1K.dll building.
BOOL Initial()
Initial machine for GPIO, and watchdog timer
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Driver not exists, or initial error (version is too old, or
machine not match))
BOOL GetGPIOConfig(WORD *Mask)
Get GPIO configuration (by variable)
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)
BOOL SetGPIOConfig(WORD Mask)
Set GPIO configuration
Mask ([15:0]) : In/Out, pin setting by hexadecimal bitmask
1 : Output;
0 : Input
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or hardware problem)
BOOL GetGPIO(WORD *DI)
Get GPIO input
DI ([15:0]) : Input state, pin setting by hexadecimal bitmask
1 : High;
0 : Low
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or call by pointer error, or hardware problem)
©Vecow EXBC-1000 User Manual
Appendix B
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

Exbc-1100eExbc-1100

Table of Contents