Vecow MTC-6000 User Manual page 115

Intel core i7/i5/i3 fanless multi-touch computer, 6 gigabit lan with 4 poe+/2 pd lan, 2 sim socket, 5 usb 3.0
Table of Contents

Advertisement

BOOL GetDIO1(WORD *DI)
Get non-isolated DIO input (DIO 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)
BOOL SetDIO1(WORD DO)
Set non-isolated DIO output (DIO output)
DO ([15:0]) : output state, pin setting by hexadecimal bitmask
1 : High;
0 : Low
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or hardware problem)
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 MTC-6000 User Manual
Appendix B
105

Advertisement

Table of Contents
loading

Table of Contents