DioConfigureInterfaceStandardLevel

Applies To

GX5280, GX5290, File

Purpose

Configure the board TTL interface standards to operate according to the specified level standard.

Syntax

DioConfigureInterfaceStandardLevel (nHandle, nStandardLevel, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Board handle.
nStandardLevel
SHORT
TTL interface standards:
0  DIO_INTERFACE_STANDARD_TWO_POINT_FIVE_VOLTS: Default interface level standard of 2.5V.
1  DIO_INTERFACE_STANDARD_THREE_POINT_THREE_VOLTS: Interface level standard of 3.3V.
2  DIO_INTERFACE_STANDARD_ONE_POINT_EIGHT_VOLTS: Interface level standard of 1.8V.
3  DIO_INTERFACE_STANDARD_ONE_POINT_FIVE_VOLTS: Interface level standard of 1.5V.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

This function configures the board to operate according to the specified level standard in order to interface with different TTL standards. All I/O data lines as well external input line such as external trigger, clock pause will operate according to the configured standards level.

Note: Power must be recycled in order for the changes to take effect.

Example

The following example configures the board interface TTL standards to the 3.3V:

 

DioConfigureInterfaceStandardLevel (nHandle, DIO_INTERFACE_STANDARD_THREE_POINT_THREE_VOLTS, &nStatus);

 

See Also

DioGetInterfaceStandardLevel, DioGetErrorString