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

📄 txinit.h

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

  Function   : Initialize the EDMA controller, McBSP and the interrupts.

  Procedures : initIrq()
			   initMcbsp()
			   initEdma()
			   startEdma()
			   disableEdma()
			   setup_ping_pong()
			   restart_ping_pong()
			   edmaHwi()

  Old History: 2005-04-24	AS	created
  			   2005-04-26	AS	startEdma added.

  Author     : $Author: Adrian $

  Revision   : $Revision: 1 $

  Modified   : $Modtime: 05-05-11 14:45 $

  File       : $Workfile: txinit.h $

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

#ifndef TX_INIT_H
#define  TX_INIT_H

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

#include <csl_stdinc.h>
#include "../common/commondef.h"

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


/*--- Global defines -------------------------------------------------------*/

/* Constants for the buffered ping-pong transfer */
#define BUFFSIZE (CHANNELS*TXOUTBUFF)
#define PING 0
#define PONG 1

/*=== End of global defines ================================================*/


/*--- Global types declaration ---------------------------------------------*/
/*=== 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 initIrq(void);
void initMcbsp(void);
void initEdma(void);
void startEdma(void);
void disableEdma(void);
void setup_ping_pong(void);
void restart_ping_pong(void);
void edmaHwi(void);

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

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

$Log: /MIMO/Transmitter/txinit.h $ 
 * 
 * 1     05-05-11 14:50 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 + -