⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rxdownconv.h

📁 MIMO 2x2接收端选择全系统仿真代码
💻 H
字号:
/*****************************************************************************
  Module     : Downconversion
******************************************************************************

  Function   : 

  Procedures : none

  Author     : $Author: Adrian $

  Revision   : $Revision: 4 $

  Modified   : $Modtime: 05-05-26 9:14 $

  File       : $Workfile: rxdownconv.h $

******************************************************************************
 KTH, Royal Institute of Technology, S3, Stockholm
*****************************************************************************/

#ifndef RX_DONWCONVERSION_H
#define  RX_DONWCONVERSION_H

/*--- Include files --------------------------------------------------------*/

#include <csl_stdinc.h>

#include "../common/commondef.h"

/*=== End of include files =================================================*/


/*--- Global defines -------------------------------------------------------*/
/*=== End of global defines ================================================*/


/*--- Global types declaration ---------------------------------------------*/

typedef struct
{
  /* estimated intermediate frequency */
  float fInterFreq;

  /* sample index */
  unsigned int unPhaseIndex;
  
  /* phase difference decimal*/
  float fPhaseDeci;

} typRX_DOWNCONVSTATE;

/*=== End of global types declaration ======================================*/


/*--- Global variables declaration -----------------------------------------*/
/*=== End of global variables declaration ==================================*/


/*--- Global constants declaration -----------------------------------------*/
/*=== End of global constants declaration ==================================*/


/*--- Global functions declaration -----------------------------------------*/

void downconvert(Int16 * restrict pInBuffer, typCOM_fCPLXBUFF * restrict fCplxTempBuffer1,
	typCOM_fCPLXBUFF * restrict fCplxTempBuffer2, typRX_DOWNCONVSTATE *pDownConvState,
	const unsigned int uiInBuffSize);
//void downconvert(Int16 *pInBuffer, typRX_DOWNCONVSTATE *pDownConvState,const unsigned int uiInBuffSize);

/*=== End of global functions declaration ==================================*/
#endif

/*--- AUTOMATICALLY GENERATED VERSION HISTORY --------------------------------

$Log: /MIMO/Receiver/rxdownconv.h $ 
 * 
 * 4     05-05-26 9:16 Adrian
 * changed unSampleIndex to unPhaseIndex
 * 
 * 3     05-05-25 12:05 Jinfeng
 * 
 * 2     05-05-23 19:57 Jinfeng
 * add a variable inside the structure:  float fPhaseDeci;
 * 
 * 1     05-05-11 17:00 Adrian
 * created and added to VSS

===== END OF AUTOMATICALLY GENERATED VERSION HISTORY =======================*/

/**** End of file ***********************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -