106
©Vecow IVH-9204MX ICY User Manual
Appendix B
BOOL CancelWDT()
Cancel watchdog timer
Return
:
TRUE (1)
: Success;
FALSE (0)
: Fail (Initial error, or hardware problem)
BOOL GetPOEConfig(BYTE *Auto, BYTE *Mask)
Get POE configuration (by variable)
Auto ([3:0])
: Auto mode, pin setting by hexadecimal bitmask
1
: Auto;
0
: Manual
Mask ([3:0])
: DC Enable/Disable, pin setting by hexadecimal bitmask
1
: Enable;
0
: Disable
Return
:
TRUE (1)
: Success;
FALSE (0)
: Fail (Initial error, or call by pointer error, or hardware problem)
BOOL SetPOEConfig(BYTE Auto, BYTE Mask)
Set POE configuration
Auto ([3:0])
: Auto mode, pin setting by hexadecimal bitmask
1
: Auto;
0
: Manual
Mask ([3:0])
: DC Enable/Disable, pin setting by hexadecimal bitmask
1
: Enable; 0
: Disable
Return
:
TRUE (1)
: Success;
FALSE (0)
: Fail (Initial error, or out of range error, or hardware problem)
BOOL GetPOE(BYTE *POE)
Get POE input
POE ([3:0])
: POE state, pin setting by hexadecimal bitmask
1
: On;
0
: Off
Return
:
TRUE (1)
: Success;
FALSE (0)
: Fail (Initial error, or call by pointer error, or hardware problem)
BOOL SetPOE(BYTE POE)
Set POE output
POE ([3:0])
: POE state, pin setting by hexadecimal bitmask
1
: On;
0
: Off
Return :
TRUE (1)
: Success;
FALSE (0)
: Fail (Initial error, or out of range error, or hardware problem)