📄 dsp2arm.h.svn-base
字号:
/******************************************************************************\
*------------------------------------------------------------------------------
* FILENAME...... dsp2arm.h
* DATE CREATED.. 06/28/2006
* LAST MODIFIED. 06/28/2006
\******************************************************************************/
#ifndef __DSP_2_ARM_H__
#define __DSP_2_ARM_H__
/*define the interrupt type(shake hand type) */
/*to arm*/
#define SHK_INITI_SUCC (0x01)
#define SHK_FPGA_ERR (0x02)
#define SHK_FPGA_OK (0x03)
#define SHK_DATA_OK (0x04)
#define SHK_INT_ERR (0x05)
#define SHK_SDRAM_FULL (0x06)
/*from arm*/
#define SHK_CCD_BEGIN (0x11)
#define SHK_CCD_PARA (0x12)
#define SHK_PRE_DATA (0x13)
#define SHK_CCD_STOP (0x14)
#define SHK_CCD_RESTAR (0x15)
/*the variable address in dsp(used by hpi)*/
//#define DSP_ (0x)
#define DSP_DATA_NUM (0x2c00)
#define DSP_CINT_TIME (0x2c01)
#define DSP_DATA1 (0x2c02)
#define DSP_DATA2 (0x3402)
#define DSP_INT_TYPET (0x3c02)
#define DSP_INT_TYPEF (0x3c03)
#define DSP_INT_TIME (0x3c04)
#define DSP_GDATA_NUM (0x3c05)
#define DSP_BAND_PARA1 (0x3c06)
#define DSP_BAND_PARA2 (0x3c16)
#define DSP_BAND_VAL1 (0x3c26)
#define DSP_BAND_VAL2 (0x3c2e)
extern unsigned short g_hpi_type;
#endif /*__DSP_2_ARM_H__*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -