?? 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 + -