Gx5731SetInternalClockEnable

Purpose

Sets the specified internal clock enable mode.

Syntax

Gx5731SetInternalClockEnable (nHandle, nClock, nEnable, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5731 board.
nClock
SHORT
Clock number:
0. GX5731_CLOCK0: Internal Clock 0
1. GX5731_CLOCK1: Internal Clock 1
nEnable
SHORT
Returned clock enable mode:
0. GX5731_DISABLE_INTERNAL_CLOCK: Disable the specified clock.
1. GX5731_ENABLE_INTERNAL_CLOCK: Enable the specified clock.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

The following example enable the internal clock 0:

 

Gx5731SetInternalClockEnable (nHandle, GX5731_CLOCK0, GX5731_ENABLE_INTERNAL_CLOCK, &nStatus);

 

See Also

Gx5731GetInternalClockEnable, Gx5731GetInternalClock