beautypg.com

Sundance SMT1026 User Manual

Page 31

background image

ConfigureADCClock

Prototype:

unsigned

int

ConfigureADCClock(unsigned

int

nRf_SamplingFreq, bool bOnBoardClk);

Parameters:

nRf_SamplingFreq

Sampling frequency of the on-board clock.

bOnBoardClk

True to use the on-board clock otherwise false. False is
the default value.

Return
value:

Sampling frequency of the on-board clock.

Notes:

This function configures the clock of the SMT391.

Acquire

Prototype:

void Acquire(unsigned int nBytes=0, bool bDDR=false);

Parameters:

nBytes

Number of bytes to acquire. If no DDR memory has been
implemented in the FPGA firmware, the acquisition is continue and
nBytes is not used. 0 is the default value.

bDDR

True when DDR memory is implemented in the FPGA firmware
otherwise false. False is the default value.

Return
value:

None.

Notes:

This function configures the SMT391 to start acquiring data.

StopAcquire

Prototype:

void StopAcquire(HOST_LINK hostlink);

Parameters:

hostlink

Communication link on which to write the data. Host comport per
default. (See enum

HOST_LINK

).

Return
value:

None.

Notes:

This function stops the ADC to acquire data.

ADCReset

Prototype:

void ADCReset(void);

Parameters:

None.

Return
value:

None.