/******************************************************************** * SemcoMxL601.h * MxL601 Header Files * By WillowAndi 2011/11/14 *********************************************************************/ #ifndef _SEMCO_MXL601_H #define _SEMCO_MXL601_H #include #include "MxL601_TunerApi.h" #include "MxL601_OEM_Drv.h" #if defined( __cplusplus ) extern "C" /* Use "C" external linkage */ { #endif /* Initialize MxL601 */ int SemcoMxL601_Init(int nUnit, int nMode, int nXtalCap, int nIF, int nGainLevel); /* Soft Reset */ void SemcoMxL601_SoftReset(int nUnit); /* Set IF */ int SemcoMxL601_SetIF(int nUnit, int nSelIF, int nGainLevel); int SemcoMxL601_SelIF(int nSelIF); /* Set AGC */ int SemcoMxL601_SetAGC(int nUnit, int nType, int nMode); /* Set Application Mode */ int SemcoMxL601_SetMode(int nUnit, int nMode); /* Set Frequency */ int SemcoMxL601_SetFrequency(int nUnit, unsigned int nFreq_Hz, int nBandWidth); /* Get Lock Status */ unsigned char SemcoMxL601_GetLock(int nUnit); /* Get Power Level */ float SemcoMxL601_GetPowerLevel(int nUnit); /* Get Chip Information */ void SemcoMxL601_GetChipInfo(int nUnit, int *lpChipId, int *lpChipVer); #if defined( __cplusplus ) } #endif #endif