📄 example_init.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.c
*
* @path $(CSLPATH)\example\c6486\utopia2\src
*
* @desc header file to initialize the utopia2 example
*
* =============================================================================
*/
#define BUFF_SIZE (1600)
#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 (0x00000008)
#define RxQue_Addr (0x00000000)
#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 Utopia2_Mode;
Uint32 Utopia2_bit_mode;
Uint32 Num_Cell;
Uint32 Udc;
Uint32 SlaveId;
} Utopia2_Test_Case;
Utopia2_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)
/* End of example_init.h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -