Vecow VCM-1000 User Manual page 101

Compact embedded system
Table of Contents

Advertisement

BOOL set_POE_configuration_ip804(BYTE ID, BYTE Auto, BYTE Mask)
Set POE configuration (by variable).
ID : POE ID.
Range : 0~15.
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 get_POE_ip804(BYTE ID, BYTE *POE)
Get POE state.
ID : POE ID.
Range : 0~15.
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 call by pointer error,
or hardware problem).
©Vecow VCM-1000 User Manual
Appendix B
93

Advertisement

Table of Contents
loading

Table of Contents