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

📄 example_init.h

📁 dsp tms320c6486的csl例程
💻 H
字号:
/*  ============================================================================
 *   Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005, 2006
 *
 *   Use of this software is controlled by the terms and conditions found
 *   in the license agreement under which this software has been supplied.
 *  ============================================================================
 */
/** ============================================================================
 *
 *   @file  example_init.h
 *
 *   @path  $(CSLPATH)\example\c6486\utopia2\inc
 *
 *   @desc  Example initialization function.
 *
 *******************************************************************************
 */
#ifndef _example_init_h_
#define _example_init_h_

#define BUFF_SIZE (16)
#define NUM_CELL     (1)

#pragma DATA_ALIGN(  Rcv_dstAddr, 8192)
Uint32               Xmt_srcAddr[BUFF_SIZE]=
#include<data_incr.h>

#pragma DATA_ALIGN(  Rcv_dstAddr, 8192)
Uint32               Rcv_dstAddr[BUFF_SIZE]=
#include<data_zero.h>


#define UTOPIA_16_BIT_MODE (0x1)
#define UTOPIA_8_BIT_MODE (0x0)

#define TxQue_Addr   (0x00000008u)
#define RxQue_Addr   (0x00000000u)
#define TX_EVENT 0
#define RX_EVENT 1

#define S_PHY        (0)
#define M_PHY        (1)  

#define SLAVE_ID     (10)		

#define UDC        (0)

typedef struct { 
   Uint32 Test_Num; 
   Uint32 Utopia_Mode;
   Uint32 Utopia_bit_mode;	
   Uint32 Num_Cell;
   Uint32 Udc;	
   Uint32 SlaveId;
      
} Utopia_Test_Case; 

Utopia_Test_Case  Test_List[] = \
                    {0x00, S_PHY, UTOPIA_16_BIT_MODE, NUM_CELL,UDC, SLAVE_ID};
	 
#define NUM_TESTS     sizeof(Test_List)/sizeof(Utopia_Test_Case)  

#endif 
/*****************************************************************************\
* End of example_init.h
\*****************************************************************************/

⌨️ 快捷键说明

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