Gx5731Reset

Purpose

Resets the GX5731 board to its default settings.

Syntax

Gx5733Reset (nHandle, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5731 board.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The function resets all digital I/O port and counters. Digital I/O ports are set to input direction. Counters are disabled and set to continuous mode, 0 Value, clock source is zero, gate is enabled, counter port is set to input from coonter 0 with load control set to None, terminal Counter set to Counter 0, clock are set to 33Mhz with divider set to 1.

Example

The following example initializes and resets the GX5731 board:

 

Gx5731Initialize (1, &nHandle, &nStatus);

Gx5731Reset (nHandle, &nStatus);

 

See Also

Gx5731Initialize, Gx5731ResetPort