![]() |
SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <devicextrx.h>
Public Member Functions | |
| DeviceXTRX () | |
| ~DeviceXTRX () | |
| bool | open (const char *deviceStr) |
| void | close () |
| struct xtrx_dev * | getDevice () |
| double | set_samplerate (double rate, double master, bool output) |
| double | getMasterRate () const |
| double | getClockGen () const |
| double | getActualInputRate () const |
| double | getActualOutputRate () const |
Static Public Member Functions | |
| static void | getAutoGains (uint32_t autoGain, uint32_t &lnaGain, uint32_t &tiaGain, uint32_t &pgaGain) |
Static Public Attributes | |
| static const uint32_t | m_nbGains = 74 |
| static const unsigned int | blockSize = (1<<13) |
Private Attributes | |
| struct xtrx_dev * | m_dev |
| device handle More... | |
| double | m_inputRate |
| double | m_outputRate |
| double | m_masterRate |
| double | m_clockGen |
| double | m_actualInputRate |
| double | m_actualOutputRate |
Static Private Attributes | |
| static const uint32_t | m_lnaTbl [m_nbGains] |
| static const uint32_t | m_pgaTbl [m_nbGains] |
Definition at line 27 of file devicextrx.h.
| DeviceXTRX::DeviceXTRX | ( | ) |
Definition at line 39 of file devicextrx.cpp.
| DeviceXTRX::~DeviceXTRX | ( | ) |
Definition at line 49 of file devicextrx.cpp.
References close().
Here is the call graph for this function:| void DeviceXTRX::close | ( | ) |
Definition at line 70 of file devicextrx.cpp.
References m_dev.
Referenced by XTRXOutput::closeDevice(), XTRXInput::closeDevice(), and ~DeviceXTRX().
Here is the caller graph for this function:
|
inline |
Definition at line 39 of file devicextrx.h.
Referenced by XTRXInput::applySettings(), XTRXInput::getDevSampleRate(), XTRXInput::getLog2HardDecim(), XTRXInput::getSampleRate(), and XTRXInput::handleMessage().
Here is the caller graph for this function:
|
inline |
Definition at line 40 of file devicextrx.h.
Referenced by XTRXOutput::applySettings(), XTRXOutput::getDevSampleRate(), XTRXOutput::getLog2HardInterp(), XTRXOutput::getSampleRate(), and XTRXOutput::handleMessage().
Here is the caller graph for this function:
|
static |
Definition at line 79 of file devicextrx.cpp.
References m_lnaTbl, and m_pgaTbl.
Referenced by XTRXInput::apply_gain_auto().
Here is the caller graph for this function:
|
inline |
Definition at line 38 of file devicextrx.h.
Referenced by XTRXOutput::getClockGen(), XTRXInput::getClockGen(), XTRXInput::getLog2HardDecim(), XTRXOutput::getLog2HardInterp(), XTRXOutput::handleMessage(), and XTRXInput::handleMessage().
Here is the caller graph for this function:
|
inline |
Definition at line 35 of file devicextrx.h.
Referenced by XTRXInput::apply_gain_lna(), XTRXInput::apply_gain_pga(), XTRXInput::apply_gain_tia(), XTRXOutput::applySettings(), XTRXInput::applySettings(), DeviceXTRXShared::get_board_temperature(), DeviceXTRXShared::get_gps_status(), XTRXOutput::handleMessage(), XTRXInput::handleMessage(), XTRXOutput::start(), XTRXInput::start(), XTRXOutput::stop(), XTRXInput::stop(), XTRXOutput::webapiFormatDeviceReport(), and XTRXInput::webapiFormatDeviceReport().
Here is the caller graph for this function:
|
inline |
Definition at line 37 of file devicextrx.h.
| bool DeviceXTRX::open | ( | const char * | deviceStr | ) |
Definition at line 54 of file devicextrx.cpp.
References m_dev.
Referenced by XTRXOutput::openDevice(), and XTRXInput::openDevice().
Here is the caller graph for this function:| double DeviceXTRX::set_samplerate | ( | double | rate, |
| double | master, | ||
| bool | output | ||
| ) |
Definition at line 95 of file devicextrx.cpp.
References m_actualInputRate, m_actualOutputRate, m_clockGen, m_dev, m_inputRate, m_masterRate, and m_outputRate.
Referenced by XTRXOutput::applySettings(), and XTRXInput::applySettings().
Here is the caller graph for this function:
|
static |
Definition at line 44 of file devicextrx.h.
Referenced by XTRXOutputThread::run(), XTRXInputThread::run(), and XTRXInputThread::XTRXInputThread().
|
private |
Definition at line 52 of file devicextrx.h.
Referenced by set_samplerate().
|
private |
Definition at line 53 of file devicextrx.h.
Referenced by set_samplerate().
|
private |
Definition at line 51 of file devicextrx.h.
Referenced by set_samplerate().
|
private |
device handle
Definition at line 47 of file devicextrx.h.
Referenced by close(), open(), and set_samplerate().
|
private |
Definition at line 48 of file devicextrx.h.
Referenced by set_samplerate().
|
staticprivate |
Definition at line 55 of file devicextrx.h.
Referenced by getAutoGains().
|
private |
Definition at line 50 of file devicextrx.h.
Referenced by set_samplerate().
|
static |
Definition at line 43 of file devicextrx.h.
|
private |
Definition at line 49 of file devicextrx.h.
Referenced by set_samplerate().
|
staticprivate |
Definition at line 56 of file devicextrx.h.
Referenced by getAutoGains().
1.8.13