- tms-old
- tms
- tmsPuServer
- PllSynth.h
This file ( 755B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
/*******************************************************************************
* PllSynth.cc PLL Synthesisor control
* T.Barnaby, BEAM Ltd, 2007-09-05
*******************************************************************************
* From code developed by: DMc
*/
#ifndef PllSynth_H
#define PllSynth_H 1
#include <BError.h>
class PllSynth {
public:
enum Mode { VCXO, VCXO_REF };
PllSynth();
BError init(volatile uint32_t* fpgaAddress); ///< Initialises the PllSynth
BError setMode(Mode mode); ///< Sets the PLL mode
int lockStatus(); ///< Returns lock status
void lockReset(); ///< Resets the lock detect system
void displayRegisters();
private:
volatile uint32_t* ofpga;
};
#endif