JQI Arduino Libraries
Arduino for the modern scientist.
 All Classes Files Functions Variables Typedefs Macros Pages
Public Member Functions | Private Attributes | List of all members
LockFreq Class Reference

#include <LockFreq.h>

Public Member Functions

 LockFreq (int, int, int)
 
void updateFreq ()
 
void initialize (AD9954 &, unsigned long, unsigned long)
 
void updateBaseFreq (unsigned long)
 
void updateCenterFreq (unsigned long)
 
unsigned long getSetpoint ()
 

Private Attributes

unsigned long _baseFreq
 
unsigned long _baseFTW
 
unsigned long _offset
 
int _offsetVoltage
 
int _feedbackPin
 
int _res
 
int _adMultiplier
 
AD9954_dds
 

Constructor & Destructor Documentation

LockFreq::LockFreq ( int  feedbackPin,
int  res,
int  multiplier 
)

Member Function Documentation

unsigned long LockFreq::getSetpoint ( )
void LockFreq::initialize ( AD9954 dds,
unsigned long  baseFreq,
unsigned long  freq 
)
void LockFreq::updateBaseFreq ( unsigned long  baseFreq)
void LockFreq::updateCenterFreq ( unsigned long  centerFreq)
void LockFreq::updateFreq ( )

Member Data Documentation

int LockFreq::_adMultiplier
private
unsigned long LockFreq::_baseFreq
private
unsigned long LockFreq::_baseFTW
private
AD9954* LockFreq::_dds
private
int LockFreq::_feedbackPin
private
unsigned long LockFreq::_offset
private
int LockFreq::_offsetVoltage
private
int LockFreq::_res
private

The documentation for this class was generated from the following files: