53
©Vecow EPBC-1000 User Manual
Appendix B
BBOOL set_IO1_configuration
(BYTE Iso, BYTE DI_mode, BYTE DO_mode, WORD Mask)
BOOL set_IO2_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_GPIO1(WORD *GPIO_data)
Get GPIO
GPIO_data ([15:0]): GPIO state, pin setting by hexadecimal bitmask.
1: High; 0: Low.
Return :
TRUE (1): Success.
FALSE (0): Fail (Initial error or hardware problem).
BOOL set_GPIO1(WORD GPIO_data)
Set GPIO
GPIO_data ([15:0]): GPIO state, pin setting by hexadecimal bitmask.
1: High; 0: Low
Return:
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)
Содержание EPBC-1000
Страница 57: ...51 Vecow EPBC 1000 User Manual Appendix A Vecow_WDT...
Страница 67: ...61 Vecow EPBC 1000 User Manual Appendix E Select Browse my computer for drivers Click Browse...
Страница 68: ...62 Vecow EPBC 1000 User Manual Appendix E Click OK Select decompressed file Click Next...
Страница 69: ...63 Vecow EPBC 1000 User Manual Appendix E Update Unknown Driver successfully...