95
Appendix B
BOOL SetDO2(BYTE DO);
Set DIO2 output
DO: DIO2 output (DO[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL GetDO2(BYTE *DO);
Get DIO2 output
DO: DIO2 output (DO[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL GetWDT(DWORD *WDT);
Get watchdog timer
WDT: Watchdog timer
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL SetWDT(DWORD WDT);
Set watchdog timer
WDT: Watchdog timer
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem, or
parameter format error)
BOOL CancelWDT();
Cancel watchdog timer
WDT: Watchdog timer
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL GetPOEConfig(BYTE *Mask);
Get POE enable/disable configuration
Mask: POE enable mask (Mask[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL SetPOEConfig(BYTE Mask);
Set POE enable/disable configuration
Mask: POE enable mask (Mask[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL GetPOE(BYTE *POE);
Get POE on/off setup
POE: POE switch (POE[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)