/* MxL201RF Source Code : V6.2.5.0 Copyright, Maxlinear, Inc. All Rights Reserved File Name: MxL201RF.h */ #if defined( __cplusplus ) extern "C" /* Use "C" external linkage */ { #endif #include "MxL201RF_Common.h" typedef struct { UINT8 Num; /*Register number */ UINT8 Val; /*Register value */ } IRVType, *PIRVType; /* Initializes the registers of the chip */ UINT32 MxL201RF_Init(UINT8* pArray, /* a array pointer that store the addr and data pairs for I2C write */ UINT32* Array_Size, /* a integer pointer that store the number of element in above array */ UINT8 Mode, /* Standard */ UINT32 Xtal_Freq_Hz, /* Crystal Frequency in Hz */ UINT32 IF_Freq_Hz, /* IF Frequency in Hz */ UINT8 Invert_IF, /* Inverted IF Spectrum: 1, or Normal IF: 0 */ UINT8 Clk_Out_Enable, /* Enable Crystal Clock out */ UINT8 Clk_Out_Amp, /* Clock out amplitude: 0 min, 15 max */ UINT8 Xtal_Cap /* Internal Crystal Capacitance */ ); /* Sets registers of the tuner based on RF freq, BW, etc. */ UINT32 MxL201RF_RFTune(UINT8* pArray, UINT32* Array_Size, UINT32 RF_Freq, /* RF Frequency in Hz */ UINT8 BWMHz, /* Bandwidth in MHz */ UINT8 Mode ); UINT32 SetIRVBit(PIRVType pIRV, UINT8 Num, UINT8 Mask, UINT8 Val); #if defined( __cplusplus ) } #endif