Vecow ABP-3000 User Manual page 78

Intel core u-series processor whiskey lake ultra-slim fanless embedded system, 4 gige lan with 2 poe+, 4 usb, 4 com, 9v to 50v dc-in, -40 degrees c to 75 degrees c
Table of Contents

Advertisement

BOOL set_IO1_configuration(BYTE Iso, BYTE DI_mode, BYTE DO_mode,
WORD Mask)
Set DIO configuration.
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 hardware problem).
BOOL get_DIO1(BYTE *DO_data, BYTE *DI_data)
Get isolated DIO output(DO) and input (DI).
DI ([7:0]) : Input state, pin setting by hexadecimal bitmask.
1 : High;
0 : Low.
DO ([7:0]) : Output 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 set_DIO1(BYTE DO_data)
Set isolated DIO output(DO).
DO ([7:0]) : Output state, pin setting by hexadecimal bitmask.
1 : High;
0 : Low.
TRUE (1) : Success.
FALSE (0) : Fail (Initial error or hardware problem).
BOOL get_WDT(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).
©Vecow ABP-3000 User Manual
Appendix B
71

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Abp-3000-8665uAbp-3000-8145u

Table of Contents