Class for controlling the SDR frontend, i.e. the input select relais (GPIO IP core) and the rf scaler.
More...
#include <frontend.h>
|
| Frontend (QObject *parent=0) |
| constructor
|
|
| ~Frontend () |
| destructor
|
|
void | init (int signalscaler_adr, int signalscaler_memsize, int signalscaler_max, int relais_controller_adr, int relais_controller_size) |
| initialization function for the class More...
|
|
|
Signal_Scaler * | scaler_rf_ |
|
IP_Driver * | relais_controller_ |
|
int | manual_scaler_setting_db_ |
|
bool | auto_scaling_ |
|
int | max_scaling_db_ |
|
Class for controlling the SDR frontend, i.e. the input select relais (GPIO IP core) and the rf scaler.
void Frontend::get_auto_setting |
( |
bool |
auto_setting | ) |
|
|
slot |
receives request to change the scaler mode
- Parameters
-
auto_setting | manually/automatically |
void Frontend::get_relais_setting |
( |
int |
value | ) |
|
|
slot |
receives request to change the relais setting
- Parameters
-
value | 0: AAF input, 1: 70cm input, 2: direct |
void Frontend::get_scaler_setting |
( |
int |
scaler_value_db | ) |
|
|
slot |
receives request to set the scaler
- Parameters
-
scaler_value_db | requested scaler setting in dB |
void Frontend::init |
( |
int |
signalscaler_adr, |
|
|
int |
signalscaler_memsize, |
|
|
int |
signalscaler_max, |
|
|
int |
relais_controller_adr, |
|
|
int |
relais_controller_size |
|
) |
| |
initialization function for the class
- Parameters
-
signalscaler_adr | IP core address for RF signal scaler (from Vivado) |
signalscaler_memsize | IP core memory size in k (from Vivado) |
signalscaler_max | maximum scaling value of scaler IP core in dB (e.g. 48 means -48 dB to +48 dB) |
relais_controller_adr | IP core address for GPIO IP core for relais control (from Vivado) |
relais_controller_size | IP core memory size in k (from Vivado) |
void Frontend::send_rf_level |
( |
int |
rf_level, |
|
|
int |
rf_level_dbfs |
|
) |
| |
|
signal |
sends the current RF level
- Parameters
-
rf_level | as linear value |
rf_level_dbfs | in dBFS |
void Frontend::send_scaling_value |
( |
int |
true_scaler_value_db | ) |
|
|
signal |
sends the scaling value after the scaler has been set newly
- Parameters
-
true_scaler_value_db | scaling value in dB |
void Frontend::set_rf_scaler |
( |
int |
scaling_value_db | ) |
|
|
private |
sets scaler value of RF scaler
- Parameters
-
The documentation for this class was generated from the following files:
- radio_control/frontend.h
- radio_control/frontend.cpp