📄 common.c
字号:
/*****************************************************************************
Module : Common Functions/Definitions/Initializations
******************************************************************************
Function : Used to initialize common constants such as the training
sequences.
Procedures : none
Author : $Author: Adrian $
Revision : $Revision: 1 $
Modified : $Modtime: 05-05-11 14:34 $
File : $Workfile: common.c $
******************************************************************************
KTH, Royal Institute of Technology, S3, Stockholm
*****************************************************************************/
/*--- Include files --------------------------------------------------------*/
/* import */
#include <csl_stdinc.h>
/* export */
#include "commondef.h"
/*=== End of include files =================================================*/
/*--- Global variables definition ------------------------------------------*/
/*=== End of global variables definition ===================================*/
/*--- Global constants definition ------------------------------------------*/
const Int16 GUARDSYMB[GUARDSYMBOLS]={1};
const Int16 TRAININGSEQ[2][TRAINLEN]={
//{-1, -1, 1, -1, -1, -1, -1, -1, 1, 1, -1, 1, -1, 1, 1, 1},
//{-1, -1, -1, -1, 1, 1, -1, 1, -1, 1, 1, 1, -1, -1, 1, -1}
{-1, -1, 1, -1, -1, -1, -1, -1, 1, 1, -1, 1},
{-1, -1, -1, -1, 1, 1, -1, 1, -1, 1, 1, 1}
};
const Int16 SYNCSEQUENCE_I[SYNCLEN]={
-1, -1, 1, -1, -1, -1, -1, -1, 1, 1, -1, 1, -1, 1, 1, 1
};
const Int16 SYNCSEQUENCE_Q[SYNCLEN]={
-1, -1, 1, -1, -1, -1, -1, -1, 1, 1, -1, 1, -1, 1, 1, 1
};
/*=== End of global constants definition ===================================*/
/*--- Local defines --------------------------------------------------------*/
/*=== End of local defines =================================================*/
/*--- Local types declaration ----------------------------------------------*/
/*=== End of local types declaration =======================================*/
/*--- Local variables definition -------------------------------------------*/
/*=== End of local variables definition ====================================*/
/*--- Local constants definition -------------------------------------------*/
/*=== End of local constants definition ====================================*/
/*--- Local functions definition -------------------------------------------*/
/*=== End of local functions definition ====================================*/
/*--- Global functions definition ------------------------------------------*/
/****************************************************************************
Function :
****************************************************************************
Description :
Inputs :
Outputs :
By : 2005-04-19 full name
****************************************************************************/
/*=== End of global functions definition ===================================*/
/*--- AUTOMATICALLY GENERATED VERSION HISTORY --------------------------------
$Log: /MIMO/common/common.c $
*
* 1 05-05-11 14:35 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 + -