#include <ClockCheck.h>
◆ tcClockCheck()
tcClockCheck::tcClockCheck |
( |
int |
anBaseAddress | ) |
|
◆ ~tcClockCheck()
tcClockCheck::~tcClockCheck |
( |
| ) |
|
◆ get_clock()
bool tcClockCheck::get_clock |
( |
int |
offset, |
|
|
float & |
rate_mhz |
|
) |
| |
Get the parameters
- Parameters
-
offset | index (zero based) of clock to check |
rate_mhz | detected clock rate, in MHz |
- Returns
- true on success
◆ initialized()
bool tcClockCheck::initialized |
( |
| ) |
|
- Returns
- True if the register is initialized.
◆ set_div()
bool tcClockCheck::set_div |
( |
int |
offset, |
|
|
unsigned int |
div |
|
) |
| |
Set the clock divisor.
- Parameters
-
offset | index (zero based) of clock to divide |
div | the divisor to set; in practice this is divisor minus 1 |
- Returns
- true on success
◆ mhClockCheck
tcFPGARegister<unsigned int> tcClockCheck::mhClockCheck |
|
protected |
The documentation for this class was generated from the following files: