Sundance SMT1026 User Manual
Page 30

•
ConfigureADCClock
•
Acquire
•
ADCReset
•
SetADCMode
•
SetClkMode
•
GetFirmwareVersion
•
GetTemp
•
GetSN
the SMT391 structures
•
SETADC391
the SMT391 enumerated types
•
CLKMODE391
The SMT391 functions
All the following functions can throw an SMTExc exception.
Reset
Prototype:
void Reset(bool bGlobal, bool bADC, bool bUser);
Parameters:
bGlobal
True to do a global reset otherwise false.
bADC
True to do an ADC reset otherwise false.
bUser
True to do a user reset otherwise false.
Return
value:
None.
Notes:
This function reset the SMT391.
ConfigureADCReg
Prototype:
void
ConfigureADCReg(unsigned
int
&nSamplingFreq,
SETADC391 setadc);
Parameters:
nSamplingFreq
Sampling frequency of the on-board clock.
setadc
ADC parameters. (See struct
SETADC391
).
Return
value:
None.
Notes:
This function configures the ADC registers of the SMT391.