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

#include <AD9954.h>

Public Member Functions

 AD9954 (byte, byte, byte, byte, byte, byte)
 
void initialize (unsigned long)
 
void initialize (unsigned long, byte)
 
void reset ()
 
void update ()
 
unsigned long getFreq ()
 
void setFreq (unsigned long)
 
unsigned long getFTW ()
 
void setFTW (unsigned long)
 
void linearSweep (unsigned long, unsigned long, unsigned long, byte, unsigned long, byte)
 

Private Member Functions

void writeRegister (byte[2], byte[1024])
 

Private Attributes

byte _ssPin
 
byte _resetPin
 
byte _updatePin
 
byte _ps0
 
byte _ps1
 
byte _osk
 
unsigned long _freq
 
unsigned long _ftw
 
unsigned long _refClk
 
unsigned long _refIn
 
double RESOLUTION
 

Constructor & Destructor Documentation

AD9954::AD9954 ( byte  ssPin,
byte  resetPin,
byte  updatePin,
byte  ps0,
byte  ps1,
byte  osk 
)

Member Function Documentation

unsigned long AD9954::getFreq ( )
unsigned long AD9954::getFTW ( )
void AD9954::initialize ( unsigned long  refClk)
void AD9954::initialize ( unsigned long  refClk,
byte  clkMult 
)
void AD9954::linearSweep ( unsigned long  freq0,
unsigned long  freq1,
unsigned long  posDF,
byte  posRR,
unsigned long  negDF,
byte  negRR 
)
void AD9954::reset ( )
void AD9954::setFreq ( unsigned long  freq)
void AD9954::setFTW ( unsigned long  ftw)
void AD9954::update ( )
void AD9954::writeRegister ( byte  [2],
byte  [1024] 
)
private

Member Data Documentation

unsigned long AD9954::_freq
private
unsigned long AD9954::_ftw
private
byte AD9954::_osk
private
byte AD9954::_ps0
private
byte AD9954::_ps1
private
unsigned long AD9954::_refClk
private
unsigned long AD9954::_refIn
private
byte AD9954::_resetPin
private
byte AD9954::_ssPin
private
byte AD9954::_updatePin
private
double AD9954::RESOLUTION
private

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