gr-baz Package
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t Class Reference

#include <rtl2832-tuner_r820t.h>

Inheritance diagram for RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t:

Public Member Functions

 r820t (demod *p)
 
virtual const char * name () const
 
int initialise (tuner::PPARAMS params=NULL)
 
int set_frequency (double freq)
 
int set_bandwidth (double bw)
 
int set_gain (double gain)
 
- Public Member Functions inherited from RTL2832_NAMESPACE::tuner_skeleton
 tuner_skeleton (demod *p)
 
virtual ~tuner_skeleton ()
 
virtual int set_gain_mode (int mode)
 
virtual int set_i2c_repeater (bool on=true, const char *function_name=NULL, int line_number=-1, const char *line=NULL)
 
virtual int i2c_read (uint8_t i2c_addr, uint8_t *buffer, int len)
 
virtual int i2c_write (uint8_t i2c_addr, uint8_t *buffer, int len)
 
virtual int i2c_write_reg (uint8_t i2c_addr, uint8_t reg, uint8_t val)
 
virtual int i2c_read_reg (uint8_t i2c_addr, uint8_t reg, uint8_t &data)
 
virtual double frequency () const
 
virtual double bandwidth () const
 
virtual double gain () const
 
virtual int gain_mode () const
 
virtual int set_auto_gain_mode (bool on=true)
 
virtual range_t gain_range () const
 
virtual values_t gain_values () const
 
virtual range_t frequency_range () const
 
virtual range_t bandwidth_range () const
 
virtual values_t bandwidth_values () const
 
virtual num_name_map_t gain_modes () const
 
virtual bool calc_appropriate_gain_mode (int &mode)
 
virtual bool auto_gain_mode () const
 
const tuner::PARAMSparams () const
 
demodparent () const
 
- Public Member Functions inherited from RTL2832_NAMESPACE::tuner
virtual ~tuner ()
 

Public Attributes

UINT32 R828_IF_khz
 
UINT32 R828_CAL_LO_khz
 
UINT8 R828_IMR_point_num
 
UINT8 R828_IMR_done_flag
 
UINT8 R828_Arry [27]
 
R828_SectType IMR_Data [5]
 
R828_I2C_TYPE R828_I2C
 
R828_I2C_LEN_TYPE R828_I2C_Len
 
UINT8 R828_Fil_Cal_flag [STD_SIZE]
 
UINT8 R828_Fil_Cal_code [STD_SIZE]
 
UINT8 Xtal_cap_sel
 
UINT8 Xtal_cap_sel_tmp
 
SysFreq_Info_Type SysFreq_Info1
 
Sys_Info_Type Sys_Info1
 
Freq_Info_Type Freq_Info1
 

Additional Inherited Members

- Public Types inherited from RTL2832_NAMESPACE::tuner
enum  gain_mode { NOT_SUPPORTED = -1 , DEFAULT = 0 }
 
typedef tuner *(* CreateTunerFn) (demod *p)
 
typedef int(* ProbeTunerFn) (demod *p)
 
typedef struct RTL2832_NAMESPACE::tuner::params PARAMS
 
typedef struct RTL2832_NAMESPACE::tuner::paramsPPARAMS
 
- Protected Attributes inherited from RTL2832_NAMESPACE::tuner_skeleton
demodm_demod
 
tuner::PARAMS m_params
 
bool m_auto_gain_mode
 
int m_gain_mode
 
double m_freq
 
double m_gain
 
double m_bandwidth
 
range_t m_gain_range
 
values_t m_gain_values
 
range_t m_frequency_range
 
range_t m_bandwidth_range
 
values_t m_bandwidth_values
 
num_name_map_t m_gain_modes
 

Constructor & Destructor Documentation

◆ r820t()

RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::r820t ( demod p)

Member Function Documentation

◆ initialise()

int RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::initialise ( tuner::PPARAMS  params = NULL)
virtual

Reimplemented from RTL2832_NAMESPACE::tuner_skeleton.

◆ name()

virtual const char * RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::name ( ) const
inlinevirtual

Reimplemented from RTL2832_NAMESPACE::tuner_skeleton.

◆ set_bandwidth()

int RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::set_bandwidth ( double  bw)
virtual

Reimplemented from RTL2832_NAMESPACE::tuner_skeleton.

◆ set_frequency()

int RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::set_frequency ( double  freq)
virtual

Reimplemented from RTL2832_NAMESPACE::tuner_skeleton.

◆ set_gain()

int RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::set_gain ( double  gain)
virtual

Reimplemented from RTL2832_NAMESPACE::tuner_skeleton.

Member Data Documentation

◆ Freq_Info1

Freq_Info_Type RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::Freq_Info1

◆ IMR_Data

R828_SectType RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::IMR_Data[5]

◆ R828_Arry

UINT8 RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_Arry[27]

◆ R828_CAL_LO_khz

UINT32 RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_CAL_LO_khz

◆ R828_Fil_Cal_code

UINT8 RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_Fil_Cal_code[STD_SIZE]

◆ R828_Fil_Cal_flag

UINT8 RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_Fil_Cal_flag[STD_SIZE]

◆ R828_I2C

R828_I2C_TYPE RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_I2C

◆ R828_I2C_Len

R828_I2C_LEN_TYPE RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_I2C_Len

◆ R828_IF_khz

UINT32 RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_IF_khz

◆ R828_IMR_done_flag

UINT8 RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_IMR_done_flag

◆ R828_IMR_point_num

UINT8 RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_IMR_point_num

◆ Sys_Info1

Sys_Info_Type RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::Sys_Info1

◆ SysFreq_Info1

SysFreq_Info_Type RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::SysFreq_Info1

◆ Xtal_cap_sel

UINT8 RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::Xtal_cap_sel

◆ Xtal_cap_sel_tmp

UINT8 RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::Xtal_cap_sel_tmp

The documentation for this class was generated from the following file: