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

📄 f2812a.gel

📁 TMS320X281xDSP应用系统设计-光盘应用程序
💻 GEL
📖 第 1 页 / 共 4 页
字号:
    GEL_WatchAdd("*0x7511,x","COMCONB");
    GEL_WatchAdd("*0x7513,x","ACTRB");
    GEL_WatchAdd("*0x7515,x","DBTCONB");
    GEL_WatchAdd("*0x7517,x","CMPR4");
    GEL_WatchAdd("*0x7518,x","CMPR5");
    GEL_WatchAdd("*0x7519,x","CMPR6");
}
hotmenu EXTCONA()
{
    GEL_WatchAdd("*0x7409,x","EXTCONA");
}
hotmenu COMCONA()
{
    GEL_WatchAdd("*0x7411,x","COMCONA");
}
hotmenu ACTRA()
{
    GEL_WatchAdd("*0x7413,x","ACTRA");
}
hotmenu DBTCONA()
{
    GEL_WatchAdd("*0x7415,x","DBTCONA");
}
hotmenu CMPR1()
{
    GEL_WatchAdd("*0x7417,x","CMPR1");
}
hotmenu CMPR2()
{
    GEL_WatchAdd("*0x7418,x","CMPR2");
}
hotmenu CMPR3()
{
    GEL_WatchAdd("*0x7419,x","CMPR3");
}
hotmenu EXTCONB()
{
    GEL_WatchAdd("*0x7509,x","EXTCONB");
}
hotmenu COMCONB()
{
    GEL_WatchAdd("*0x7511,x","COMCONB");
}
hotmenu ACTRB()
{
    GEL_WatchAdd("*0x7513,x","ACTRB");
}
hotmenu DBTCONB()
{
    GEL_WatchAdd("*0x7515,x","DBTCONB");
}
hotmenu CMPR4()
{
    GEL_WatchAdd("*0x7517,x","CMPR4");
}
hotmenu CMPR5()
{
    GEL_WatchAdd("*0x7518,x","CMPR5");
}
hotmenu CMPR6()
{
    GEL_WatchAdd("*0x7519,x","CMPR6");
}

/********************************************************************/
/* Event Manager Interrupt Registers                                */
/********************************************************************/
menuitem "Watch EV Interrupt Registers";                    

hotmenu All_EVA_Interrupt_Regs()
{
    GEL_WatchAdd("*0x742C,x","EVAIMRA");
    GEL_WatchAdd("*0x742D,x","EVAIMRB");
    GEL_WatchAdd("*0x742E,x","EVAIMRC");
    GEL_WatchAdd("*0x742F,x","EVAIFRA");
    GEL_WatchAdd("*0x7430,x","EVAIFRB");
    GEL_WatchAdd("*0x7431,x","EVAIFRC");
}
hotmenu All_EVB_Interrupt_Regs()
{
    GEL_WatchAdd("*0x752C,x","EVBIMRA");
    GEL_WatchAdd("*0x752D,x","EVBIMRB");
    GEL_WatchAdd("*0x752E,x","EVBIMRC");
    GEL_WatchAdd("*0x752F,x","EVBIFRA");
    GEL_WatchAdd("*0x7530,x","EVBIFRB");
    GEL_WatchAdd("*0x7531,x","EVBIFRC");
}
hotmenu EVAIMRA_and_EVAIFRA()
{
    GEL_WatchAdd("*0x742C,x","EVAIMRA");
    GEL_WatchAdd("*0x742F,x","EVAIFRA");
}
hotmenu EVAIMRB_and_EVAIFRB()
{
    GEL_WatchAdd("*0x742D,x","EVAIMRB");
    GEL_WatchAdd("*0x7430,x","EVAIFRB");
}
hotmenu EVAIMRC_and_EVAIFRC()
{
    GEL_WatchAdd("*0x742E,x","EVAIMRC");
    GEL_WatchAdd("*0x7431,x","EVAIFRC");
}
hotmenu EVBIMRA_and_EVBIFRA()
{
    GEL_WatchAdd("*0x752C,x","EVBIMRA");
    GEL_WatchAdd("*0x752F,x","EVBIFRA");
}
hotmenu EVBIMRB_and_EVBIFRB()
{
    GEL_WatchAdd("*0x752D,x","EVBIMRB");
    GEL_WatchAdd("*0x7530,x","EVBIFRB");
}
hotmenu EVBIMRC_and_EVBIFRC()
{
    GEL_WatchAdd("*0x752E,x","EVBIMRC");
    GEL_WatchAdd("*0x7531,x","EVBIFRC");
}

/********************************************************************/
/* Event Manager General Purpose Timer Registers                    */
/********************************************************************/
menuitem "Watch EV Timer Registers";

hotmenu All_EVA_TIMER_Regs()
{
    GEL_WatchAdd("*0x7400,x","GPTCONA");
    GEL_WatchAdd("*0x7401,x","T1CNT");
    GEL_WatchAdd("*0x7402,x","T1CMPR");
    GEL_WatchAdd("*0x7403,x","T1PR");
    GEL_WatchAdd("*0x7404,x","T1CON");
    GEL_WatchAdd("*0x7405,x","T2CNT");
    GEL_WatchAdd("*0x7406,x","T2CMPR");
    GEL_WatchAdd("*0x7407,x","T2PR");
    GEL_WatchAdd("*0x7408,x","T2CON");
}
hotmenu All_EVB_TIMER_Regs()
{
    GEL_WatchAdd("*0x7500,x","GPTCONB");
    GEL_WatchAdd("*0x7501,x","T3CNT");
    GEL_WatchAdd("*0x7502,x","T3CMPR");
    GEL_WatchAdd("*0x7503,x","T3PR");
    GEL_WatchAdd("*0x7504,x","T3CON");
    GEL_WatchAdd("*0x7505,x","T4CNT");
    GEL_WatchAdd("*0x7506,x","T4CMPR");
    GEL_WatchAdd("*0x7507,x","T4PR");
    GEL_WatchAdd("*0x7508,x","T4CON");
}
hotmenu GPTCONA()
{
    GEL_WatchAdd("*0x7400,x","GPTCONA");
}
hotmenu T1CNT()
{
    GEL_WatchAdd("*0x7401,x","T1CNT");
}
hotmenu T1CMPR()
{
    GEL_WatchAdd("*0x7402,x","T1CMPR");
}
hotmenu T1PR()
{
    GEL_WatchAdd("*0x7403,x","T1PR");
}
hotmenu T1CON()
{
    GEL_WatchAdd("*0x7404,x","T1CON");
}
hotmenu T2CNT()
{
    GEL_WatchAdd("*0x7405,x","T2CNT");
}
hotmenu T2CMPR()
{
    GEL_WatchAdd("*0x7406,x","T2CMPR");
}
hotmenu T2PR()
{
    GEL_WatchAdd("*0x7407,x","T2PR");
}
hotmenu T2CON()
{
    GEL_WatchAdd("*0x7408,x","T2CON");
}
hotmenu GPTCONB()
{
    GEL_WatchAdd("*0x7500,x","GPTCONB");
}
hotmenu T3CNT()
{
    GEL_WatchAdd("*0x7501,x","T3CNT");
}
hotmenu T3CMPR()
{
    GEL_WatchAdd("*0x7502,x","T3CMPR");
}
hotmenu T3PR()
{
    GEL_WatchAdd("*0x7503,x","T3PR");
}
hotmenu T3CON()
{
    GEL_WatchAdd("*0x7504,x","T3CON");
}
hotmenu T4CNT()
{
    GEL_WatchAdd("*0x7505,x","T4CNT");
}
hotmenu T4CMPR()
{
    GEL_WatchAdd("*0x7506,x","T4CMPR");
}
hotmenu T4PR()
{
    GEL_WatchAdd("*0x7507,x","T4PR");
}
hotmenu T4CON()
{
    GEL_WatchAdd("*0x7508,x","T4CON");
}

/********************************************************************/
/* External Interface Registers                                     */
/********************************************************************/
menuitem "Watch External Interface Registers";

hotmenu All_External_Interface_Regs()
{
    GEL_WatchAdd("*(long *)0x0B20,x","XTIMING0");
    GEL_WatchAdd("*(long *)0x0B22,x","XTIMING1");
    GEL_WatchAdd("*(long *)0x0B24,x","XTIMING2");
    GEL_WatchAdd("*(long *)0x0B2C,x","XTIMING6");
    GEL_WatchAdd("*(long *)0x0B2E,x","XTIMING7");
    GEL_WatchAdd("*(long *)0x0B34,x","XINTCNF2");
    GEL_WatchAdd("*0x0B38,x","XBANK");
    GEL_WatchAdd("*0x0B3A,x","XREVISION");
}
hotmenu XTIMING0()
{
    GEL_WatchAdd("*(long *)0x0B20,x","XTIMING0");
}
hotmenu XTIMING1()
{
    GEL_WatchAdd("*(long *)0x0B22,x","XTIMING1");
}
hotmenu XTIMING2()
{
    GEL_WatchAdd("*(long *)0x0B24,x","XTIMING2");
}
hotmenu XTIMING6()
{
    GEL_WatchAdd("*(long *)0x0B2C,x","XTIMING6");
}
hotmenu XTIMING7()
{
    GEL_WatchAdd("*(long *)0x0B2E,x","XTIMING7");
}
hotmenu XINTCNF2()
{
    GEL_WatchAdd("*(long *)0x0B34,x","XINTCNF2");
}
hotmenu XBANK()
{
    GEL_WatchAdd("*0x0B38,x","XBANK");
}
hotmenu XREVISION()
{
    GEL_WatchAdd("*0x0B3A,x","XREVISION");
}

/********************************************************************/
/* External Interrupt Registers                                     */
/********************************************************************/
menuitem "Watch External Interrupt Registers";

hotmenu All_XINT_Regs()
{
    GEL_WatchAdd("*0x7070,x","XINT1CR");
    GEL_WatchAdd("*0x7071,x","XINT2CR");
    GEL_WatchAdd("*0x7077,x","XNMICR");
    GEL_WatchAdd("*0x7078,x","XINT1CTR");
    GEL_WatchAdd("*0x7079,x","XINT2CTR");
    GEL_WatchAdd("*0x707F,x","XNMICTR");
}
hotmenu XINT1CR()
{
    GEL_WatchAdd("*0x7070,x","XINT1CR");
}
hotmenu XINT2CR()
{
    GEL_WatchAdd("*0x7071,x","XINT2CR");
}
hotmenu XNMICR()
{
    GEL_WatchAdd("*0x7077,x","XNMICR");
}
hotmenu XINT1CTR()
{
    GEL_WatchAdd("*0x7078,x","XINT1CTR");
}
hotmenu XINT2CTR()
{
    GEL_WatchAdd("*0x7079,x","XINT2CTR");
}
hotmenu XNMICTR()
{
    GEL_WatchAdd("*0x707F,x","XNMICTR");
}

/********************************************************************/
/* Flash/OTP Configuration Registers                                */
/********************************************************************/
menuitem "Watch Flash/OTP Registers";                    

hotmenu All_Flash_and_OTP_Regs()
{
    GEL_WatchAdd("*0x0A80,x","FOPT");
    GEL_WatchAdd("*0x0A82,x","FPWR");
    GEL_WatchAdd("*0x0A83,x","FSTATUS");
    GEL_WatchAdd("*0x0A84,x","FSTDBYWAIT");
    GEL_WatchAdd("*0x0A85,x","FACTIVEWAIT");
    GEL_WatchAdd("*0x0A86,x","FBANKWAIT");
    GEL_WatchAdd("*0x0A87,x","FOTPWAIT");
}

/********************************************************************/
/* GPIO Registers                                                   */
/********************************************************************/
menuitem "Watch GPIO Registers";                    

hotmenu All_GPIO_MUX_Regs()
{
    GEL_WatchAdd("*0x70C0,x","GPAMUX");
    GEL_WatchAdd("*0x70C1,x","GPADIR");
    GEL_WatchAdd("*0x70C2,x","GPAQUAL");
    GEL_WatchAdd("*0x70C4,x","GPBMUX");
    GEL_WatchAdd("*0x70C5,x","GPBDIR");
    GEL_WatchAdd("*0x70C6,x","GPBQUAL");
    GEL_WatchAdd("*0x70CC,x","GPDMUX");
    GEL_WatchAdd("*0x70CD,x","GPDDIR");
    GEL_WatchAdd("*0x70CE,x","GPDQUAL");
    GEL_WatchAdd("*0x70D0,x","GPEMUX");
    GEL_WatchAdd("*0x70D1,x","GPEDIR");
    GEL_WatchAdd("*0x70D2,x","GPEQUAL");
    GEL_WatchAdd("*0x70D4,x","GPFMUX");
    GEL_WatchAdd("*0x70D5,x","GPFDIR");
    GEL_WatchAdd("*0x70D8,x","GPGMUX");
    GEL_WatchAdd("*0x70D9,x","GPGDIR");
}
hotmenu All_GPIO_DATA_Regs()
{
    GEL_WatchAdd("*0x70E0,x","GPADAT");
    GEL_WatchAdd("*0x70E1,x","GPASET");
    GEL_WatchAdd("*0x70E2,x","GPACLEAR");
    GEL_WatchAdd("*0x70E3,x","GPATOGGLE");
    GEL_WatchAdd("*0x70E4,x","GPBDAT");
    GEL_WatchAdd("*0x70E5,x","GPBSET");
    GEL_WatchAdd("*0x70E6,x","GPBCLEAR");
    GEL_WatchAdd("*0x70E7,x","GPBTOGGLE");
    GEL_WatchAdd("*0x70EC,x","GPDDAT");
    GEL_WatchAdd("*0x70ED,x","GPDSET");
    GEL_WatchAdd("*0x70EE,x","GPDCLEAR");
    GEL_WatchAdd("*0x70EF,x","GPDTOGGLE");
    GEL_WatchAdd("*0x70F0,x","GPEDAT");
    GEL_WatchAdd("*0x70F1,x","GPESET");
    GEL_WatchAdd("*0x70F2,x","GPECLEAR");
    GEL_WatchAdd("*0x70F3,x","GPETOGGLE");
    GEL_WatchAdd("*0x70F4,x","GPFDAT");
    GEL_WatchAdd("*0x70F5,x","GPFSET");
    GEL_WatchAdd("*0x70F6,x","GPFCLEAR");
    GEL_WatchAdd("*0x70F7,x","GPFTOGGLE");
    GEL_WatchAdd("*0x70F8,x","GPGDAT");
    GEL_WatchAdd("*0x70F9,x","GPGSET");
    GEL_WatchAdd("*0x70FA,x","GPGCLEAR");
    GEL_WatchAdd("*0x70FB,x","GPGTOGGLE");
}
hotmenu All_GPA_Registers()
{
    GEL_WatchAdd("*0x70C0,x","GPAMUX");
    GEL_WatchAdd("*0x70C1,x","GPADIR");
    GEL_WatchAdd("*0x70C2,x","GPAQUAL");
    GEL_WatchAdd("*0x70E0,x","GPADAT");
    GEL_WatchAdd("*0x70E1,x","GPASET");
    GEL_WatchAdd("*0x70E2,x","GPACLEAR");
    GEL_WatchAdd("*0x70E3,x","GPATOGGLE");
}
hotmenu All_GPB_Registers()
{
    GEL_WatchAdd("*0x70C4,x","GPBMUX");
    GEL_WatchAdd("*0x70C5,x","GPBDIR");
    GEL_WatchAdd("*0x70C6,x","GPBQUAL");
    GEL_WatchAdd("*0x70E4,x","GPBDAT");
    GEL_WatchAdd("*0x70E5,x","GPBSET");
    GEL_WatchAdd("*0x70E6,x","GPBCLEAR");
    GEL_WatchAdd("*0x70E7,x","GPBTOGGLE");
}
hotmenu All_GPD_Registers()
{
    GEL_WatchAdd("*0x70CC,x","GPDMUX");
    GEL_WatchAdd("*0x70CD,x","GPDDIR");
    GEL_WatchAdd("*0x70CE,x","GPDQUAL");
    GEL_WatchAdd("*0x70EC,x","GPDDAT");
    GEL_WatchAdd("*0x70ED,x","GPDSET");
    GEL_WatchAdd("*0x70EE,x","GPDCLEAR");
    GEL_WatchAdd("*0x70EF,x","GPDTOGGLE");
}
hotmenu All_GPE_Registers()
{
    GEL_WatchAdd("*0x70D0,x","GPEMUX");
    GEL_WatchAdd("*0x70D1,x","GPEDIR");
    GEL_WatchAdd("*0x70D2,x","GPEQUAL");
    GEL_WatchAdd("*0x70F0,x","GPEDAT");
    GEL_WatchAdd("*0x70F1,x","GPESET");
    GEL_WatchAdd("*0x70F2,x","GPECLEAR");
    GEL_WatchAdd("*0x70F3,x","GPETOGGLE");
}
hotmenu All_GPF_Registers()
{
    GEL_WatchAdd("*0x70D4,x","GPFMUX");
    GEL_WatchAdd("*0x70D5,x","GPFDIR");
    GEL_WatchAdd("*0x70F4,x","GPFDAT");
    GEL_WatchAdd("*0x70F5,x","GPFSET");
    GEL_WatchAdd("*0x70F6,x","GPFCLEAR");
    GEL_WatchAdd("*0x70F7,x","GPFTOGGLE");
}
hotmenu All_GPG_Registers()
{
    GEL_WatchAdd("*0x70D8,x","GPGMUX");
    GEL_WatchAdd("*0x70D9,x","GPGDIR");
    GEL_WatchAdd("*0x70F8,x","GPGDAT");
    GEL_WatchAdd("*0x70F9,x","GPGSET");
    GEL_WatchAdd("*0x70FA,x","GPGCLEAR");
    GEL_WatchAdd("*0x70FB,x","GPGTOGGLE");
}

/********************************************************************/
/* Multichannel Serial Port Registers                               */
/********************************************************************/
menuitem "Watch McBSP Registers";

hotmenu All_McBSP_Regs()
{
    GEL_WatchAdd("*0x7800,x","DRR2");
    GEL_WatchAdd("*0x7801,x","DRR1");
    GEL_WatchAdd("*0x7802,x","DXR2");

⌨️ 快捷键说明

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