Sundance SMT1026 User Manual

Page 21

Advertising
background image

enum DATAFORMAT {

binary = 0,

complement2 = 1

};

Selects the format of the output samples.

enum SIGGEN {

sine = 0,

triangle = 1,

square

=

2,

ramp_pos = 3,
ramp_neg = 4

};

Selects the shape of the signal to generate.

3.3.2

SMT350 interface

The SMT350 interface can be used with a SMT350 plugged in a Sundance carrier board.

This section describes:

the SMT350 functions

•

ResetDevices

•

ConfigureADCReg

•

ConfigureADCClock

•

Acquire

the SMT350 structures

•

CLKMODE350

•

SETDAC

•

SETCLK

the SMT350 enumerated types

•

SMT350TYPE

•

SAMPLING_RATIO

The SMT350 functions

All the following functions can throw an SMTExc exception.

ResetDevices

Prototype:

void ResetDevices(SMT350TYPE smt350type=cdcm7005);

Parameters:

smt350type

Select the SMT350 type: CDCM7005 or AD9510. (See enum

SMT350TYPE

).

Advertising