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.
limesdrinputsettings.h
Go to the documentation of this file.
1 // Copyright (C) 2017 Edouard Griffiths, F4EXB //
3 // //
4 // This program is free software; you can redistribute it and/or modify //
5 // it under the terms of the GNU General Public License as published by //
6 // the Free Software Foundation as version 3 of the License, or //
7 // (at your option) any later version. //
8 // //
9 // This program is distributed in the hope that it will be useful, //
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of //
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
12 // GNU General Public License V3 for more details. //
13 // //
14 // You should have received a copy of the GNU General Public License //
15 // along with this program. If not, see <http://www.gnu.org/licenses/>. //
17 
18 #ifndef PLUGINS_SAMPLESOURCE_LIMESDRINPUT_LIMESDRINPUTSETTINGS_H_
19 #define PLUGINS_SAMPLESOURCE_LIMESDRINPUT_LIMESDRINPUTSETTINGS_H_
20 
21 #include <QByteArray>
22 #include <QString>
23 #include <stdint.h>
24 
30 {
31  enum PathRFE
32  {
39  };
40 
41  typedef enum {
44  } GainMode;
45 
46  // global settings to be saved
50  // channel settings
51  bool m_dcBlock;
54  float m_lpfBW;
56  float m_lpfFIRBW;
58  bool m_ncoEnable;
61  GainMode m_gainMode;
65  bool m_extClock;
76 
78  void resetToDefaults();
79  QByteArray serialize() const;
80  bool deserialize(const QByteArray& data);
81 };
82 
83 #endif /* PLUGINS_SAMPLESOURCE_LIMESDRINPUT_LIMESDRINPUTSETTINGS_H_ */
uint8_t m_gpioDir
GPIO pin direction LSB first; 0 input, 1 output.
uint32_t m_tiaGain
Manual TIA gain.
bool m_lpfFIREnable
Enable LMS digital lowpass FIR filters.
bool m_extClock
True if external clock source.
QByteArray serialize() const
uint32_t m_lnaGain
Manual LAN gain.
int m_ncoFrequency
Actual NCO frequency (the resulting frequency with mixing is displayed)
bool deserialize(const QByteArray &data)
uint32_t m_gain
Optimally distributed gain (dB)
unsigned int uint32_t
Definition: rtptypes_win.h:46
float m_lpfFIRBW
LMS digital lowpass FIR filters bandwidth (Hz)
unsigned char uint8_t
Definition: rtptypes_win.h:42
unsigned short uint16_t
Definition: rtptypes_win.h:44
bool m_ncoEnable
Enable TSP NCO and mixing.
uint32_t m_pgaGain
Manual PGA gain.
float m_lpfBW
LMS amalog lowpass filter bandwidth (Hz)
GainMode m_gainMode
Gain mode: auto or manual.
uint8_t m_gpioPins
GPIO pins to write; LSB first.
uint32_t m_extClockFreq
Frequency (Hz) of external clock source.
unsigned __int64 uint64_t
Definition: rtptypes_win.h:48