gr-baz Package

rtl2832-tuner_r820t.h
Go to the documentation of this file.
1#ifndef __TUNER_R820T_H
2#define __TUNER_R820T_H
3
4#include "rtl2832.h"
5
6////////////////////////////////////////
7
8#ifndef _UINT_X_
9#define _UINT_X_ 1
10 typedef unsigned char UINT8;
11 typedef unsigned short UINT16;
12 typedef unsigned int UINT32;
13#endif
14
15#define TRUE 1
16#define FALSE 0
17
18 typedef enum _R828_ErrCode
19{
20 RT_Success,
21 RT_Fail
22}R828_ErrCode;
23
24//----------------------------------------------------------//
25// R828 Parameter //
26//----------------------------------------------------------//
27
28 typedef enum _R828_Standard_Type //Don't remove standand list!!
29{
30 NTSC_MN = 0,
31 PAL_I,
32 PAL_DK,
33 PAL_B_7M, //no use
34 PAL_BGH_8M, //for PAL B/G, PAL G/H
35 SECAM_L,
36 SECAM_L1_INV, //for SECAM L'
37 SECAM_L1, //no use
38 ATV_SIZE,
39 DVB_T_6M = ATV_SIZE,
40 DVB_T_7M,
41 DVB_T_7M_2,
42 DVB_T_8M,
43 DVB_T2_6M,
44 DVB_T2_7M,
45 DVB_T2_7M_2,
46 DVB_T2_8M,
47 DVB_T2_1_7M,
48 DVB_T2_10M,
49 DVB_C_8M,
50 DVB_C_6M,
51 ISDB_T,
52 DTMB,
53 R828_ATSC,
54 FM,
55 STD_SIZE
56}R828_Standard_Type;
57
58 typedef enum _R828_SetFreq_Type
59{
60 FAST_MODE = TRUE,
61 NORMAL_MODE = FALSE
62}R828_SetFreq_Type;
63
64 typedef enum _R828_LoopThrough_Type
65{
66 LOOP_THROUGH = TRUE,
67 SIGLE_IN = FALSE
68}R828_LoopThrough_Type;
69
70 typedef enum _R828_InputMode_Type
71{
72 AIR_IN = 0,
73 CABLE_IN_1,
74 CABLE_IN_2
75}R828_InputMode_Type;
76
77 typedef enum _R828_IfAgc_Type
78{
79 IF_AGC1 = 0,
80 IF_AGC2
81}R828_IfAgc_Type;
82
83 typedef enum _R828_GPIO_Type
84{
85 HI_SIG = TRUE,
86 LO_SIG = FALSE
87}R828_GPIO_Type;
88
89 typedef struct _R828_Set_Info
90{
91 UINT32 RF_Hz;
92 UINT32 RF_KHz;
93 R828_Standard_Type R828_Standard;
94 R828_LoopThrough_Type RT_Input;
95 R828_InputMode_Type RT_InputMode;
96 R828_IfAgc_Type R828_IfAgc_Select;
97}R828_Set_Info;
98
99 typedef struct _R828_RF_Gain_Info
100{
101 UINT8 RF_gain1;
102 UINT8 RF_gain2;
103 UINT8 RF_gain_comb;
104}R828_RF_Gain_Info;
105
106 typedef enum _R828_RF_Gain_TYPE
107{
108 RF_AUTO = 0,
109 RF_MANUAL
110}R828_RF_Gain_TYPE;
111
112 typedef struct _R828_I2C_LEN_TYPE
113{
114 UINT8 RegAddr;
115 UINT8 Data[50];
116 UINT8 Len;
117}R828_I2C_LEN_TYPE;
118
119 typedef struct _R828_I2C_TYPE
120{
121 UINT8 RegAddr;
122 UINT8 Data;
123}R828_I2C_TYPE;
124
125 typedef struct _R828_SectType
126{
127 UINT8 Phase_Y;
128 UINT8 Gain_X;
129 UINT16 Value;
130}R828_SectType;
131
132 typedef enum _BW_Type
133{
134 BW_6M = 0,
135 BW_7M,
136 BW_8M,
137 BW_1_7M,
138 BW_10M,
139 BW_200K
140}BW_Type;
141
142 typedef struct _Sys_Info_Type
143{
144 UINT16 IF_KHz;
145 BW_Type BW;
146 UINT32 FILT_CAL_LO;
147 UINT8 FILT_GAIN;
148 UINT8 IMG_R;
149 UINT8 FILT_Q;
150 UINT8 HP_COR;
151 UINT8 EXT_ENABLE;
152 UINT8 LOOP_THROUGH;
153 UINT8 LT_ATT;
154 UINT8 FLT_EXT_WIDEST;
155 UINT8 POLYFIL_CUR;
156}Sys_Info_Type;
157
158 typedef struct _Freq_Info_Type
159{
160 UINT8 OPEN_D;
161 UINT8 RF_MUX_PLOY;
162 UINT8 TF_C;
163 UINT8 XTAL_CAP20P;
164 UINT8 XTAL_CAP10P;
165 UINT8 XTAL_CAP0P;
166 UINT8 IMR_MEM;
167}Freq_Info_Type;
168
169 typedef struct _SysFreq_Info_Type
170{
171 UINT8 LNA_TOP;
172 UINT8 LNA_VTH_L;
173 UINT8 MIXER_TOP;
174 UINT8 MIXER_VTH_L;
175 UINT8 AIR_CABLE1_IN;
176 UINT8 CABLE2_IN;
177 UINT8 PRE_DECT;
178 UINT8 LNA_DISCHARGE;
179 UINT8 CP_CUR;
180 UINT8 DIV_BUF_CUR;
181 UINT8 FILTER_CUR;
182}SysFreq_Info_Type;
183
184////////////////////////////////////////
185
186 namespace RTL2832_NAMESPACE { namespace TUNERS_NAMESPACE
187{
188 class r820t : public RTL2832_NAMESPACE::tuner_skeleton
189{
190 IMPLEMENT_INLINE_TUNER_FACTORY(r820t)
191 public:
192 //UINT8 R828_ADDRESS;
193 UINT32 R828_IF_khz;
194 UINT32 R828_CAL_LO_khz;
195 UINT8 R828_IMR_point_num;
196 UINT8 R828_IMR_done_flag;
197 //UINT8 Rafael_Chip;
198 UINT8 R828_Arry[27];
199 public:
200 R828_SectType IMR_Data[5];
201 R828_I2C_TYPE R828_I2C;
202 R828_I2C_LEN_TYPE R828_I2C_Len;
203 UINT8 R828_Fil_Cal_flag[STD_SIZE];
204 UINT8 R828_Fil_Cal_code[STD_SIZE];
205 UINT8 Xtal_cap_sel;
206 UINT8 Xtal_cap_sel_tmp;
207 SysFreq_Info_Type SysFreq_Info1;
208 Sys_Info_Type Sys_Info1;
209 //static Freq_Info_Type R828_Freq_Info;
210 Freq_Info_Type Freq_Info1;
211 public:
212 r820t(demod* p);
213 public:
214 inline virtual const char* name() const
215 { return "Rafael Micro R820T"; }
216 public:
217 int initialise(tuner::PPARAMS params = NULL);
218 int set_frequency(double freq);
219 int set_bandwidth(double bw);
220 int set_gain(double gain);
221};
222
223} }
224
225//----------------------------------------------------------//
226// R828 Functions //
227//----------------------------------------------------------//
228
229 R828_ErrCode R828_Init(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t* pTuner);
230 R828_ErrCode R828_Standby(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t* pTuner, R828_LoopThrough_Type R828_LoopSwitch);
231 R828_ErrCode R828_GPIO(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t* pTuner, R828_GPIO_Type R828_GPIO_Conrl);
232 R828_ErrCode R828_SetStandard(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t* pTuner, R828_Standard_Type RT_Standard);
233 R828_ErrCode R828_SetFrequency(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t* pTuner, R828_Set_Info R828_INFO, R828_SetFreq_Type R828_SetFreqMode);
234 R828_ErrCode R828_GetRfGain(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t* pTuner, R828_RF_Gain_Info *pR828_rf_gain);
235 R828_ErrCode R828_SetRfGain(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t* pTuner, int gain);
236 R828_ErrCode R828_RfGainMode(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t* pTuner, int manual);
237 int r820t_SetRfFreqHz(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t* pTuner, unsigned long RfFreqHz);
238 int r820t_SetStandardMode(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t* pTuner, int StandardMode);
239 int r820t_SetStandby(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t* pTuner, int LoopThroughType);
240
241#endif /* __TUNER_R820T_H */
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t
Definition: rtl2832-tuner_r820t.h:189
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::SysFreq_Info1
SysFreq_Info_Type SysFreq_Info1
Definition: rtl2832-tuner_r820t.h:207
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_I2C
R828_I2C_TYPE R828_I2C
Definition: rtl2832-tuner_r820t.h:201
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_Fil_Cal_flag
UINT8 R828_Fil_Cal_flag[STD_SIZE]
Definition: rtl2832-tuner_r820t.h:203
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_Arry
UINT8 R828_Arry[27]
Definition: rtl2832-tuner_r820t.h:198
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_I2C_Len
R828_I2C_LEN_TYPE R828_I2C_Len
Definition: rtl2832-tuner_r820t.h:202
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::Xtal_cap_sel
UINT8 Xtal_cap_sel
Definition: rtl2832-tuner_r820t.h:205
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_IMR_point_num
UINT8 R828_IMR_point_num
Definition: rtl2832-tuner_r820t.h:195
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::Sys_Info1
Sys_Info_Type Sys_Info1
Definition: rtl2832-tuner_r820t.h:208
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_CAL_LO_khz
UINT32 R828_CAL_LO_khz
Definition: rtl2832-tuner_r820t.h:194
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_IF_khz
UINT32 R828_IF_khz
Definition: rtl2832-tuner_r820t.h:193
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_Fil_Cal_code
UINT8 R828_Fil_Cal_code[STD_SIZE]
Definition: rtl2832-tuner_r820t.h:204
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::r820t
r820t(demod *p)
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::name
virtual const char * name() const
Definition: rtl2832-tuner_r820t.h:214
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::IMR_Data
R828_SectType IMR_Data[5]
Definition: rtl2832-tuner_r820t.h:200
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::Freq_Info1
Freq_Info_Type Freq_Info1
Definition: rtl2832-tuner_r820t.h:210
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::set_bandwidth
int set_bandwidth(double bw)
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::R828_IMR_done_flag
UINT8 R828_IMR_done_flag
Definition: rtl2832-tuner_r820t.h:196
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::Xtal_cap_sel_tmp
UINT8 Xtal_cap_sel_tmp
Definition: rtl2832-tuner_r820t.h:206
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::set_gain
int set_gain(double gain)
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::set_frequency
int set_frequency(double freq)
RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t::initialise
int initialise(tuner::PPARAMS params=NULL)
RTL2832_NAMESPACE::demod
Definition: rtl2832.h:310
RTL2832_NAMESPACE::tuner_skeleton
Definition: rtl2832.h:187
RTL2832_NAMESPACE::tuner_skeleton::gain
virtual double gain() const
Definition: rtl2832.h:228
RTL2832_NAMESPACE
Definition: rtl2832-tuner_e4000.h:6
r820t_SetStandby
int r820t_SetStandby(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t *pTuner, int LoopThroughType)
_R828_SetFreq_Type
_R828_SetFreq_Type
Definition: rtl2832-tuner_r820t.h:59
FAST_MODE
@ FAST_MODE
Definition: rtl2832-tuner_r820t.h:60
NORMAL_MODE
@ NORMAL_MODE
Definition: rtl2832-tuner_r820t.h:61
UINT16
unsigned short UINT16
Definition: rtl2832-tuner_r820t.h:11
r820t_SetRfFreqHz
int r820t_SetRfFreqHz(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t *pTuner, unsigned long RfFreqHz)
R828_Set_Info
struct _R828_Set_Info R828_Set_Info
R828_SetFrequency
R828_ErrCode R828_SetFrequency(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t *pTuner, R828_Set_Info R828_INFO, R828_SetFreq_Type R828_SetFreqMode)
_R828_ErrCode
_R828_ErrCode
Definition: rtl2832-tuner_r820t.h:19
RT_Fail
@ RT_Fail
Definition: rtl2832-tuner_r820t.h:21
RT_Success
@ RT_Success
Definition: rtl2832-tuner_r820t.h:20
R828_I2C_LEN_TYPE
struct _R828_I2C_LEN_TYPE R828_I2C_LEN_TYPE
R828_ErrCode
enum _R828_ErrCode R828_ErrCode
R828_RF_Gain_Info
struct _R828_RF_Gain_Info R828_RF_Gain_Info
R828_Init
R828_ErrCode R828_Init(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t *pTuner)
R828_GPIO
R828_ErrCode R828_GPIO(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t *pTuner, R828_GPIO_Type R828_GPIO_Conrl)
R828_RF_Gain_TYPE
enum _R828_RF_Gain_TYPE R828_RF_Gain_TYPE
R828_LoopThrough_Type
enum _R828_LoopThrough_Type R828_LoopThrough_Type
Sys_Info_Type
struct _Sys_Info_Type Sys_Info_Type
R828_SetStandard
R828_ErrCode R828_SetStandard(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t *pTuner, R828_Standard_Type RT_Standard)
Freq_Info_Type
struct _Freq_Info_Type Freq_Info_Type
_BW_Type
_BW_Type
Definition: rtl2832-tuner_r820t.h:133
BW_200K
@ BW_200K
Definition: rtl2832-tuner_r820t.h:139
BW_7M
@ BW_7M
Definition: rtl2832-tuner_r820t.h:135
BW_10M
@ BW_10M
Definition: rtl2832-tuner_r820t.h:138
BW_6M
@ BW_6M
Definition: rtl2832-tuner_r820t.h:134
BW_8M
@ BW_8M
Definition: rtl2832-tuner_r820t.h:136
BW_1_7M
@ BW_1_7M
Definition: rtl2832-tuner_r820t.h:137
R828_GPIO_Type
enum _R828_GPIO_Type R828_GPIO_Type
R828_SetRfGain
R828_ErrCode R828_SetRfGain(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t *pTuner, int gain)
_R828_RF_Gain_TYPE
_R828_RF_Gain_TYPE
Definition: rtl2832-tuner_r820t.h:107
RF_AUTO
@ RF_AUTO
Definition: rtl2832-tuner_r820t.h:108
RF_MANUAL
@ RF_MANUAL
Definition: rtl2832-tuner_r820t.h:109
R828_IfAgc_Type
enum _R828_IfAgc_Type R828_IfAgc_Type
r820t_SetStandardMode
int r820t_SetStandardMode(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t *pTuner, int StandardMode)
SysFreq_Info_Type
struct _SysFreq_Info_Type SysFreq_Info_Type
R828_I2C_TYPE
struct _R828_I2C_TYPE R828_I2C_TYPE
R828_RfGainMode
R828_ErrCode R828_RfGainMode(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t *pTuner, int manual)
R828_Standby
R828_ErrCode R828_Standby(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t *pTuner, R828_LoopThrough_Type R828_LoopSwitch)
R828_Standard_Type
enum _R828_Standard_Type R828_Standard_Type
_R828_Standard_Type
_R828_Standard_Type
Definition: rtl2832-tuner_r820t.h:29
PAL_BGH_8M
@ PAL_BGH_8M
Definition: rtl2832-tuner_r820t.h:34
DVB_T2_8M
@ DVB_T2_8M
Definition: rtl2832-tuner_r820t.h:46
STD_SIZE
@ STD_SIZE
Definition: rtl2832-tuner_r820t.h:55
DVB_T2_7M_2
@ DVB_T2_7M_2
Definition: rtl2832-tuner_r820t.h:45
SECAM_L
@ SECAM_L
Definition: rtl2832-tuner_r820t.h:35
DVB_C_6M
@ DVB_C_6M
Definition: rtl2832-tuner_r820t.h:50
PAL_B_7M
@ PAL_B_7M
Definition: rtl2832-tuner_r820t.h:33
SECAM_L1_INV
@ SECAM_L1_INV
Definition: rtl2832-tuner_r820t.h:36
PAL_I
@ PAL_I
Definition: rtl2832-tuner_r820t.h:31
DVB_T2_1_7M
@ DVB_T2_1_7M
Definition: rtl2832-tuner_r820t.h:47
R828_ATSC
@ R828_ATSC
Definition: rtl2832-tuner_r820t.h:53
DVB_T_8M
@ DVB_T_8M
Definition: rtl2832-tuner_r820t.h:42
FM
@ FM
Definition: rtl2832-tuner_r820t.h:54
ATV_SIZE
@ ATV_SIZE
Definition: rtl2832-tuner_r820t.h:38
DVB_T_6M
@ DVB_T_6M
Definition: rtl2832-tuner_r820t.h:39
NTSC_MN
@ NTSC_MN
Definition: rtl2832-tuner_r820t.h:30
DVB_T2_7M
@ DVB_T2_7M
Definition: rtl2832-tuner_r820t.h:44
DVB_T_7M
@ DVB_T_7M
Definition: rtl2832-tuner_r820t.h:40
DVB_T2_6M
@ DVB_T2_6M
Definition: rtl2832-tuner_r820t.h:43
ISDB_T
@ ISDB_T
Definition: rtl2832-tuner_r820t.h:51
DVB_T_7M_2
@ DVB_T_7M_2
Definition: rtl2832-tuner_r820t.h:41
DTMB
@ DTMB
Definition: rtl2832-tuner_r820t.h:52
DVB_T2_10M
@ DVB_T2_10M
Definition: rtl2832-tuner_r820t.h:48
SECAM_L1
@ SECAM_L1
Definition: rtl2832-tuner_r820t.h:37
PAL_DK
@ PAL_DK
Definition: rtl2832-tuner_r820t.h:32
DVB_C_8M
@ DVB_C_8M
Definition: rtl2832-tuner_r820t.h:49
_R828_GPIO_Type
_R828_GPIO_Type
Definition: rtl2832-tuner_r820t.h:84
HI_SIG
@ HI_SIG
Definition: rtl2832-tuner_r820t.h:85
LO_SIG
@ LO_SIG
Definition: rtl2832-tuner_r820t.h:86
BW_Type
enum _BW_Type BW_Type
TRUE
#define TRUE
Definition: rtl2832-tuner_r820t.h:15
FALSE
#define FALSE
Definition: rtl2832-tuner_r820t.h:16
R828_SectType
struct _R828_SectType R828_SectType
_R828_IfAgc_Type
_R828_IfAgc_Type
Definition: rtl2832-tuner_r820t.h:78
IF_AGC1
@ IF_AGC1
Definition: rtl2832-tuner_r820t.h:79
IF_AGC2
@ IF_AGC2
Definition: rtl2832-tuner_r820t.h:80
_R828_InputMode_Type
_R828_InputMode_Type
Definition: rtl2832-tuner_r820t.h:71
CABLE_IN_2
@ CABLE_IN_2
Definition: rtl2832-tuner_r820t.h:74
CABLE_IN_1
@ CABLE_IN_1
Definition: rtl2832-tuner_r820t.h:73
AIR_IN
@ AIR_IN
Definition: rtl2832-tuner_r820t.h:72
UINT8
unsigned char UINT8
Definition: rtl2832-tuner_r820t.h:10
R828_SetFreq_Type
enum _R828_SetFreq_Type R828_SetFreq_Type
R828_InputMode_Type
enum _R828_InputMode_Type R828_InputMode_Type
_R828_LoopThrough_Type
_R828_LoopThrough_Type
Definition: rtl2832-tuner_r820t.h:65
LOOP_THROUGH
@ LOOP_THROUGH
Definition: rtl2832-tuner_r820t.h:66
SIGLE_IN
@ SIGLE_IN
Definition: rtl2832-tuner_r820t.h:67
UINT32
unsigned int UINT32
Definition: rtl2832-tuner_r820t.h:12
R828_GetRfGain
R828_ErrCode R828_GetRfGain(RTL2832_NAMESPACE::TUNERS_NAMESPACE::r820t *pTuner, R828_RF_Gain_Info *pR828_rf_gain)
rtl2832.h
IMPLEMENT_INLINE_TUNER_FACTORY
#define IMPLEMENT_INLINE_TUNER_FACTORY(class_name)
Definition: rtl2832.h:77
TUNERS_NAMESPACE
#define TUNERS_NAMESPACE
Definition: rtl2832.h:66
RTL2832_NAMESPACE::tuner::params
Definition: rtl2832.h:145
_Freq_Info_Type
Definition: rtl2832-tuner_r820t.h:159
_Freq_Info_Type::XTAL_CAP0P
UINT8 XTAL_CAP0P
Definition: rtl2832-tuner_r820t.h:165
_Freq_Info_Type::XTAL_CAP20P
UINT8 XTAL_CAP20P
Definition: rtl2832-tuner_r820t.h:163
_Freq_Info_Type::IMR_MEM
UINT8 IMR_MEM
Definition: rtl2832-tuner_r820t.h:166
_Freq_Info_Type::RF_MUX_PLOY
UINT8 RF_MUX_PLOY
Definition: rtl2832-tuner_r820t.h:161
_Freq_Info_Type::XTAL_CAP10P
UINT8 XTAL_CAP10P
Definition: rtl2832-tuner_r820t.h:164
_Freq_Info_Type::OPEN_D
UINT8 OPEN_D
Definition: rtl2832-tuner_r820t.h:160
_Freq_Info_Type::TF_C
UINT8 TF_C
Definition: rtl2832-tuner_r820t.h:162
_R828_I2C_LEN_TYPE
Definition: rtl2832-tuner_r820t.h:113
_R828_I2C_LEN_TYPE::RegAddr
UINT8 RegAddr
Definition: rtl2832-tuner_r820t.h:114
_R828_I2C_LEN_TYPE::Data
UINT8 Data[50]
Definition: rtl2832-tuner_r820t.h:115
_R828_I2C_LEN_TYPE::Len
UINT8 Len
Definition: rtl2832-tuner_r820t.h:116
_R828_I2C_TYPE
Definition: rtl2832-tuner_r820t.h:120
_R828_I2C_TYPE::RegAddr
UINT8 RegAddr
Definition: rtl2832-tuner_r820t.h:121
_R828_I2C_TYPE::Data
UINT8 Data
Definition: rtl2832-tuner_r820t.h:122
_R828_RF_Gain_Info
Definition: rtl2832-tuner_r820t.h:100
_R828_RF_Gain_Info::RF_gain_comb
UINT8 RF_gain_comb
Definition: rtl2832-tuner_r820t.h:103
_R828_RF_Gain_Info::RF_gain1
UINT8 RF_gain1
Definition: rtl2832-tuner_r820t.h:101
_R828_RF_Gain_Info::RF_gain2
UINT8 RF_gain2
Definition: rtl2832-tuner_r820t.h:102
_R828_SectType
Definition: rtl2832-tuner_r820t.h:126
_R828_SectType::Value
UINT16 Value
Definition: rtl2832-tuner_r820t.h:129
_R828_SectType::Phase_Y
UINT8 Phase_Y
Definition: rtl2832-tuner_r820t.h:127
_R828_SectType::Gain_X
UINT8 Gain_X
Definition: rtl2832-tuner_r820t.h:128
_R828_Set_Info
Definition: rtl2832-tuner_r820t.h:90
_R828_Set_Info::R828_Standard
R828_Standard_Type R828_Standard
Definition: rtl2832-tuner_r820t.h:93
_R828_Set_Info::RT_InputMode
R828_InputMode_Type RT_InputMode
Definition: rtl2832-tuner_r820t.h:95
_R828_Set_Info::RF_Hz
UINT32 RF_Hz
Definition: rtl2832-tuner_r820t.h:91
_R828_Set_Info::RT_Input
R828_LoopThrough_Type RT_Input
Definition: rtl2832-tuner_r820t.h:94
_R828_Set_Info::RF_KHz
UINT32 RF_KHz
Definition: rtl2832-tuner_r820t.h:92
_R828_Set_Info::R828_IfAgc_Select
R828_IfAgc_Type R828_IfAgc_Select
Definition: rtl2832-tuner_r820t.h:96
_SysFreq_Info_Type
Definition: rtl2832-tuner_r820t.h:170
_SysFreq_Info_Type::LNA_TOP
UINT8 LNA_TOP
Definition: rtl2832-tuner_r820t.h:171
_SysFreq_Info_Type::AIR_CABLE1_IN
UINT8 AIR_CABLE1_IN
Definition: rtl2832-tuner_r820t.h:175
_SysFreq_Info_Type::MIXER_TOP
UINT8 MIXER_TOP
Definition: rtl2832-tuner_r820t.h:173
_SysFreq_Info_Type::CP_CUR
UINT8 CP_CUR
Definition: rtl2832-tuner_r820t.h:179
_SysFreq_Info_Type::PRE_DECT
UINT8 PRE_DECT
Definition: rtl2832-tuner_r820t.h:177
_SysFreq_Info_Type::LNA_DISCHARGE
UINT8 LNA_DISCHARGE
Definition: rtl2832-tuner_r820t.h:178
_SysFreq_Info_Type::CABLE2_IN
UINT8 CABLE2_IN
Definition: rtl2832-tuner_r820t.h:176
_SysFreq_Info_Type::LNA_VTH_L
UINT8 LNA_VTH_L
Definition: rtl2832-tuner_r820t.h:172
_SysFreq_Info_Type::MIXER_VTH_L
UINT8 MIXER_VTH_L
Definition: rtl2832-tuner_r820t.h:174
_SysFreq_Info_Type::DIV_BUF_CUR
UINT8 DIV_BUF_CUR
Definition: rtl2832-tuner_r820t.h:180
_SysFreq_Info_Type::FILTER_CUR
UINT8 FILTER_CUR
Definition: rtl2832-tuner_r820t.h:181
_Sys_Info_Type
Definition: rtl2832-tuner_r820t.h:143
_Sys_Info_Type::LT_ATT
UINT8 LT_ATT
Definition: rtl2832-tuner_r820t.h:153
_Sys_Info_Type::HP_COR
UINT8 HP_COR
Definition: rtl2832-tuner_r820t.h:150
_Sys_Info_Type::IF_KHz
UINT16 IF_KHz
Definition: rtl2832-tuner_r820t.h:144
_Sys_Info_Type::LOOP_THROUGH
UINT8 LOOP_THROUGH
Definition: rtl2832-tuner_r820t.h:152
_Sys_Info_Type::EXT_ENABLE
UINT8 EXT_ENABLE
Definition: rtl2832-tuner_r820t.h:151
_Sys_Info_Type::FLT_EXT_WIDEST
UINT8 FLT_EXT_WIDEST
Definition: rtl2832-tuner_r820t.h:154
_Sys_Info_Type::FILT_GAIN
UINT8 FILT_GAIN
Definition: rtl2832-tuner_r820t.h:147
_Sys_Info_Type::FILT_Q
UINT8 FILT_Q
Definition: rtl2832-tuner_r820t.h:149
_Sys_Info_Type::IMG_R
UINT8 IMG_R
Definition: rtl2832-tuner_r820t.h:148
_Sys_Info_Type::BW
BW_Type BW
Definition: rtl2832-tuner_r820t.h:145
_Sys_Info_Type::POLYFIL_CUR
UINT8 POLYFIL_CUR
Definition: rtl2832-tuner_r820t.h:155
_Sys_Info_Type::FILT_CAL_LO
UINT32 FILT_CAL_LO
Definition: rtl2832-tuner_r820t.h:146