📄 dsk_app.tcf
字号:
/*
* ======== dsk_app.tcf ========
*
*! Revision History
*! ================
*! 18-Feb-2003 mw Created.
*
* To create dsk_app.cdb, run Dosrun.bat in your Code Composer install
* directory then go to the example directory and type the following at
* the command line:
*
* tconf -Dconfig.importPath="%TI_DIR%\c6000\dsk6713\include"
* -Dconfig.tiRoot="%TI_DIR%" dsk_app.tcf
*
*/
/* Load 6713 DSK platform */
utils.loadPlatform("Dsk6713");
/* Get program objects */
utils.getProgObjs(prog);
/* Enable all heaps, RTDX, Real Time Analysis, and the Task Mangager */
bios.enableFullBios(prog);
/* Set CPU frequency to 225MHz */
GBL.CLKOUT = 225.0000;
/* Disable Task Manager */
TSK.ENABLETSK = 0;
/* Enable RTDX */
RTDX.ENABLERTDX = 1;
HST.HOSTLINKTYPE = "RTDX";
/* Add processBuffer SWI */
processBufferSwi = SWI.create("processBufferSwi");
processBufferSwi.fxn = prog.extern("processBuffer");
processBufferSwi.priority = 2;
/* Insert edmaHwi ISR */
HWI_INT8.interruptSource = EDMA_Controller;
HWI_INT8.fxn = prog.extern("edmaHwi");
HWI_INT8.useDispatcher = 1;
/* Define the PRD blinkLed */
var blinkLED = PRD.create("PRD_blinkLED");
blinkLED.comment = "Toggles LED #0 every 500ms";
blinkLED.fxn = prog.extern("blinkLED");
blinkLED.period = 500;
/* Define the PRD load */
var load = PRD.create("PRD_load");
load.comment = "Dummy Load";
load.fxn = prog.extern("load");
load.period = 10;
/* Generate .cdb file */
prog.gen();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -