Vecow SPC-5000 User Manual page 94

Intel core i7/i5/i3 soc whiskey lake ultra-compact fanless embedded system, 2 gige lan, 4 10g usb 3.1 gen 2, 2 com, 9v to 48v, ignition control, -40 degrees c to 85 degrees c
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 GetWDT (DWORD *WDT)
Get watchdog timer setup
WDT : watchdog timer setup
Unit : second. (Range : 0 ~ 65535 sec, 1093 ~ 65535 min (=65580 ~
3932100 sec))
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or call by pointer error, or hardware problem)
BOOL SetWDT (DWORD WDT)
Set watchdog timer setup
WDT : watchdog timer setup
Unit : second. (Range : 1 ~ 65535 sec, 1093 ~ 65535 min (=65580 ~
3932100 sec))
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or setup 0 error, or hardware problem)
BOOL CancelWDT ()
Cancel watchdog timer
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or hardware problem)
©Vecow SPC-5000 User Manual
Appendix B
87

Advertisement

Table of Contents
loading

Table of Contents