📄 proc.c
字号:
/*********************************************************/
/* */
/* proc.C */
/* */
/* The program is used to detect and estimate */
/* */
/* the signal received . */
/* */
/* And the program can be used when only one target. */
/* */
/* Copyright2004.1-2004.9 by FU JIN */
/* */
/*********************************************************/
#include "var_def.h" //自定义的变量 忽
#include "c6x.h" //cplusplus系统文件 必??
#include "C6xdsp.h" //定义寄存器 必
#include "mynoise.h" //自定义表 忽
#include "C6xinterrupts.h" //中断标志表, 必??
#include "sine_init.c" //SINE表 忽
#include "atan_init.c" //ATAN表 忽
#include "c6xdspinit.c" //EMIF配置表 必
#include "subfun.c" //忽
#include "myproc.c" //必
#include "LCD_TAB.h" //忽
#include "LCD_SUBFUN.c"
#include "mydata.c"
#include "LBL_INTR.c" //中断操作
#include "mydebug.c" //不懂
void main()
{
comm_intr();//initial EMIFB/EVENT
/**************initial progam********************/
CSR=0x100; //disable all interrupts
IER=0x01; //disable interrupts except NMI
ICR=0xffff;
enableGlobalINT(); //important
enableNMI(); //important
config_Interrupt_Selector(5, EXT_INT5); //using external interrupt INT4
enableSpecificINT(5);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -