gr-baz Package
rtl2832-tuner_fc2580.h File Reference
#include "rtl2832.h"

Go to the source code of this file.

Classes

class  RTL2832_NAMESPACE::TUNERS_NAMESPACE::fc2580

Defines

#define BORDER_FREQ   2600000
#define USE_EXT_CLK   0
#define OFS_RSSI   57
#define FC2580_I2C_ADDR   0xac
#define FC2580_CHECK_ADDR   0x01
#define FC2580_CHECK_VAL   0x56
#define FC2580_FCI_FAIL   0
#define FC2580_FCI_SUCCESS   1

Typedefs

typedef int fc2580_fci_result_type

Enumerations

enum  fc2580_band_type { FC2580_UHF_BAND, FC2580_L_BAND, FC2580_VHF_BAND, FC2580_NO_BAND }
enum  FUNCTION_STATUS { FUNCTION_SUCCESS, FUNCTION_ERROR }
enum  FC2580_AGC_MODE { FC2580_AGC_INTERNAL = 1, FC2580_AGC_EXTERNAL = 2 }
enum  FC2580_BANDWIDTH_MODE { FC2580_BANDWIDTH_1530000HZ = 1, FC2580_BANDWIDTH_6000000HZ = 6, FC2580_BANDWIDTH_7000000HZ = 7, FC2580_BANDWIDTH_8000000HZ = 8 }

Functions

void fc2580_wait_msec (RTL2832_NAMESPACE::tuner *pTuner, int a)
fc2580_fci_result_type fc2580_set_init (RTL2832_NAMESPACE::tuner *pTuner, int ifagc_mode, unsigned int freq_xtal)
fc2580_fci_result_type fc2580_set_freq (RTL2832_NAMESPACE::tuner *pTuner, unsigned int f_lo, unsigned int freq_xtal)
fc2580_fci_result_type fc2580_set_filter (RTL2832_NAMESPACE::tuner *pTuner, unsigned char filter_bw, unsigned int freq_xtal)
int fc2580_Initialize (RTL2832_NAMESPACE::tuner *pTuner)
int fc2580_SetRfFreqHz (RTL2832_NAMESPACE::tuner *pTuner, unsigned long RfFreqHz)
int fc2580_SetBandwidthMode (RTL2832_NAMESPACE::tuner *pTuner, int BandwidthMode)

Define Documentation

#define BORDER_FREQ   2600000
#define FC2580_CHECK_ADDR   0x01
#define FC2580_CHECK_VAL   0x56
#define FC2580_FCI_FAIL   0
#define FC2580_FCI_SUCCESS   1
#define FC2580_I2C_ADDR   0xac
#define OFS_RSSI   57
#define USE_EXT_CLK   0

Typedef Documentation


Enumeration Type Documentation

Enumerator:
FC2580_AGC_INTERNAL 
FC2580_AGC_EXTERNAL 
Enumerator:
FC2580_UHF_BAND 
FC2580_L_BAND 
FC2580_VHF_BAND 
FC2580_NO_BAND 
Enumerator:
FC2580_BANDWIDTH_1530000HZ 
FC2580_BANDWIDTH_6000000HZ 
FC2580_BANDWIDTH_7000000HZ 
FC2580_BANDWIDTH_8000000HZ 
Enumerator:
FUNCTION_SUCCESS 
FUNCTION_ERROR 

Function Documentation

fc2580_fci_result_type fc2580_set_filter ( RTL2832_NAMESPACE::tuner *  pTuner,
unsigned char  filter_bw,
unsigned int  freq_xtal 
)
fc2580_fci_result_type fc2580_set_freq ( RTL2832_NAMESPACE::tuner *  pTuner,
unsigned int  f_lo,
unsigned int  freq_xtal 
)
fc2580_fci_result_type fc2580_set_init ( RTL2832_NAMESPACE::tuner *  pTuner,
int  ifagc_mode,
unsigned int  freq_xtal 
)
int fc2580_SetBandwidthMode ( RTL2832_NAMESPACE::tuner *  pTuner,
int  BandwidthMode 
)
int fc2580_SetRfFreqHz ( RTL2832_NAMESPACE::tuner *  pTuner,
unsigned long  RfFreqHz 
)
void fc2580_wait_msec ( RTL2832_NAMESPACE::tuner *  pTuner,
int  a 
)