Sundance SMT1026 User Manual
Page 26

ConfigureDACReg
Prototype:
void ConfigureDACReg(DATAMODE mode, unsigned short *pBuf,
unsigned int nBurstSize);
Parameters:
mode
Select the data mode (See struct
DATAMODE
)..
pBuf
Buffer that contains the data to write to the DAC memory
(only used when the direct mode is selected).
nBurstSize
Set the burst size for the DACs. Typically it will be the number
of 14-bit samples divided by the number of samples per cycle
(NB_SAMPLE_CYCLE).
Return
value:
None.
Notes:
This function configures the DAC registers of the SMT381.
ConfigureDACClock
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 SMT381.
SetTrigger
Prototype:
void SetTrigger(bool bStart);
Parameters:
bStart
Set the trigger to 0 of 1. The trigger is active high.
Return
value:
None.
Notes:
This function sets the trigger of the SMT381.
Reset
Prototype:
void Reset(bool bSDB, bool bDAC, bool bDCM);
Parameters:
bSDB
SDB reset. 0 = inactive, 1 = active.
bDAC
DAC reset, active on falling edge. Reset all FPGA internal registers