Return the specified internal clock enable mode.
Gx5733GetInternalClockEnable (nHandle, nClock, pnEnable, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX5733 board. |
nClock |
SHORT |
Clock number:0. GX5733_CLOCK0: Internal Clock 0.1. GX5733_CLOCK1: Internal Clock 1. |
pnEnable |
PSHORT |
Set clock enable mode:0. GX5733_DISABLE_INTERNAL_CLOCK: Disable the specified clock.1. GX5733_ENABLE_INTERNAL_CLOCK: Enable the specified clock. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
SHORT nEnable, nStatus;
The following example returns the internal clock 0 enable state:
Gx5733GetInternalClockEnable (nHandle, GX5733_CLOCK0, &nEnable, &nStatus);