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

#include <ADF4350.h>

Public Member Functions

 ADF4350 (byte)
 
void initialize (int, int)
 
void powerDown (bool)
 
void setRfPower (int)
 
void setAuxPower (int)
 
void auxEnable (bool)
 
void rfEnable (bool)
 
int getFreq ()
 
void setFreq (int)
 
void setInt (int)
 
void setFeedbackType (bool)
 
void update ()
 

Public Attributes

int _phase
 
int _freq
 
int _int
 
int _divider
 
int _refClk
 
int _auxPower
 
int _rfPower
 

Private Member Functions

void setR0 ()
 
void setR1 ()
 
void setR2 ()
 
void setR3 ()
 
void setR4 ()
 
void setR5 ()
 
void writeRegister (byte[4])
 

Private Attributes

byte _ssPin
 
bool _powerdown
 
bool _auxEnabled
 
bool _rfEnabled
 
bool _feedbackType
 
byte _r0 [4]
 
byte _r1 [4]
 
byte _r2 [4]
 
byte _r3 [4]
 
byte _r4 [4]
 
byte _r5 [4]
 

Constructor & Destructor Documentation

ADF4350::ADF4350 ( byte  ssPin)

Member Function Documentation

void ADF4350::auxEnable ( bool  aux)
int ADF4350::getFreq ( )
void ADF4350::initialize ( int  freq,
int  refClk = 10 
)
void ADF4350::powerDown ( bool  pd)
void ADF4350::rfEnable ( bool  rf)
void ADF4350::setAuxPower ( int  pow)
void ADF4350::setFeedbackType ( bool  feedback)
void ADF4350::setFreq ( int  freq)
void ADF4350::setInt ( int  )
void ADF4350::setR0 ( )
private
void ADF4350::setR1 ( )
private
void ADF4350::setR2 ( )
private
void ADF4350::setR3 ( )
private
void ADF4350::setR4 ( )
private
void ADF4350::setR5 ( )
private
void ADF4350::setRfPower ( int  pow)
void ADF4350::update ( )
void ADF4350::writeRegister ( byte  [4])
private

Member Data Documentation

bool ADF4350::_auxEnabled
private
int ADF4350::_auxPower
int ADF4350::_divider
bool ADF4350::_feedbackType
private
int ADF4350::_freq
int ADF4350::_int
int ADF4350::_phase
bool ADF4350::_powerdown
private
byte ADF4350::_r0[4]
private
byte ADF4350::_r1[4]
private
byte ADF4350::_r2[4]
private
byte ADF4350::_r3[4]
private
byte ADF4350::_r4[4]
private
byte ADF4350::_r5[4]
private
int ADF4350::_refClk
bool ADF4350::_rfEnabled
private
int ADF4350::_rfPower
byte ADF4350::_ssPin
private

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