GX5709, GX5711, GX5712
Gx5733ModuleSetTermination (nHandle, nPort, nTermination, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX5733 board. |
nPort |
SHORT |
Module port 0 (GX5733_PORT0) only. |
nTermination |
SHORT |
GX5709 module:Module bytes Terminations where bit 0 corresponds to byte 0, bit 1 to byte 1, bit 2 byte 2 and bit 3 to byte 3. A bit is set to hi ’1’ for Termination On and low ‘0’ for Termination Off.GX5711 and GX5712 modules:Module Terminations, bit 0 is set to hi ’1’ for Termination On and low ‘0’ for Termination Off. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Settings the terminators to be On will only be active only when outputting data through the differential lines.
The following example sets the Module GX5712 terminators to be On:
SHORT nStatus;
Gx5733ModuleSetTermination (nHandle, GX5733_PORT0, 1, &nStatus);
Gx5733ModuleGetTermination, Gx5733ModuleGetType