GX5701, GX5702, GX5704
Returns the Module’s External Strobe Enable Polarity.
Gx5733ModuleGetExtStrobeEnablePolarity (nHandle, nPort, , pnPolarity, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX5733 board. |
nPort |
SHORT |
Module port 0 (GX5733_PORT0) only. |
pnPolarity |
PSHORT |
Returned External Strobe Enable Polarity mode:0. GX5733_MODULE_STROBE_POSITIVE_EDGE: External Strobe will be enabled on positive edge.1. GX5733_MODULE_STROBE_NEGATIVE_EDGE: External Strobe will be enabled on negative edge. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following example returns modules port 0 external strobe enable polarity:
SHORT nPolarity, nStatus;
Gx5733ModuleGetExtStrobeEnablePolarity (nHandle, GX5733_PORT0, &nPolarity, &nStatus);
Gx5733ModuleSetExtStrobeEnablePolarity, Gx5733ModuleSetExtStrobePolarity, Gx5733ModuleSetStrobeSource, Gx5733ModuleSetInternalStrobeSource