rf_EpskInterSlotRampProfile.h
上传用户:gelin96
上传日期:2017-01-08
资源大小:20993k
文件大小:3k
源码类别:
MTK
开发平台:
C++ Builder
- /*****************************************************************************
- * Copyright Statement:
- * --------------------
- * This software is protected by Copyright and the information contained
- * herein is confidential. The software may not be copied and the information
- * contained herein may not be used or disclosed except with the written
- * permission of MediaTek Inc. (C) 2001
- *
- *****************************************************************************/
- /*****************************************************************************
- *
- * Filename:
- * ---------
- * rf_EpskInterSlotRampProfile.h
- *
- * Project:
- * --------
- * Maui META APP
- *
- * Description:
- * ------------
- * RF EPSK inter slot ramp profile header
- *
- * Author:
- * -------
- * Andy Ueng (mtk00490)
- *
- *============================================================================
- * HISTORY
- * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *------------------------------------------------------------------------------
- * $Revision$
- * $Modtime$
- * $Log$
- *
- *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *============================================================================
- ****************************************************************************/
- //---------------------------------------------------------------------------
- #ifndef _RF_EPSKINTERSLOTRAMPPROFILE_H_
- #define _RF_EPSKINTERSLOTRAMPPROFILE_H_
- // common
- #ifndef _METAAPP_COMMON_H_
- #include "metaapp_common.h"
- #endif
- #ifndef META_DLL_H
- #include "meta.h"
- #endif
- #ifndef _MAN_HANDLE_H_
- #include "man_handle.h"
- #endif
- #include "rf_apc.h"
- //---------------------------------------------------------------------------
- //---------------------------------------------------------------------------
- class CRFEPSKINTERSLOTRAMP
- {
- private:
- E_METAAPP_RESULT_T m_eConfirmState;
- int CurWRBand;
- bool m_bSingleBand;
- int EpskInterRampBufSize;
- char *EpskInterRampBuf;
- l1cal_EPSK_interRampData_T EPSK_Inter_RamTable[MAX_SUPPORT_BAND_NUM];
- protected:
- public:
- void Confirm(E_METAAPP_RESULT_T confirm_state);
- CRFEPSKINTERSLOTRAMP( void );
- ~CRFEPSKINTERSLOTRAMP();
- void REQ_Finish( void );
- void REQ_TimeOut( void );
- void REQ_ReadFromNVRAM( void );
- void CNF_ReadFromNVRAM( void );
- void REQ_WriteToNVRAM( void );
- void CNF_WriteToNVRAM( void );
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
- // Public member
- void (*ConfirmCallback)( void );
- // Public interface
- void REQ_Stop( void );
- void REQ_Read_From_NVRAM( void );
- void REQ_Write_To_NVRAM( void );
- void REQ_Write_To_NVRAM_Single_Band( int band );
- bool REQ_Read_From_File( char *filename );
- bool REQ_Write_To_File( char *filename );
- // Global information
- E_METAAPP_RESULT_T Get_ConfirmState(void);
- void Set_InterSlotRamp(int band_idx, l1cal_EPSK_interRampData_T epsk_inter_ramp );
- l1cal_EPSK_interRampData_T Get_InterSlotRamp(int band_idx );
- };
- /*---------------------------------------------------------------------------*/
- #endif