86
©Vecow ECS-4500 User Manual
Appendix C
Mask: Non-isolate DIO1 out enable mask (Mask[15:0])
1: output setup; 0: input setup
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL GetDI1(BYTE *DI);
Get Isolate DIO1 input
DI: DIO1 input (DI[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL GetDO1(BYTE *DO);
Get Isolate DIO1 output
DO: DIO1 output (DO[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL SetDO1(BYTE DO);
Set Isolate DIO1 output
DO: DIO1 output (DO[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL GetDIO1(WORD *DO);
Get Non-isolate DIO1
DO: DIO1 output (DO[15:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL SetDIO1(WORD DO);
Set Non-isolate DIO1
DO: DIO1 output (DO[15:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL GetGPIOConfig(WORD *Mask);
Get GPIO configuration
Mask: GPIO out enable mask (Mask[15:0])
1: output setup; 0: input setup
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL SetGPIOConfig(WORD Mask);
Set GPIO configuration
Mask: Non-isolate GPIO out enable mask (Mask[15:0])
1: output setup; 0: input setup
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)