📄 audio.tcf
字号:
/* * ======== audio.tcf ======== * *! Revision History *! ================ *! 23-Jan-2002 tm/jv Created. * * To create audio.cdb, add %TI_DIR$\bin\utilities\tconf path to Dosrun.bat * then type the following at the command line: * * >> tconf -Dconfig.importPath="%TI_DIR%\c5400\dsk5416\include" -Dconfig.tiRoot="%TI_DIR%" audio.tcf * */utils.seedPath = environment["config.tiRoot"] + "\\c5400\\bios\\include";/* Load DSK5416 platform */utils.loadPlatform("Dsk5416");/* Get program objects */utils.getProgObjs(prog);/* Enable all heaps, RTDX, Real Time Analysis, and the Task Mangager */bios.enableFullBios(prog);/* Switch to far memory model */GBL.CALLMODEL = "far";/* BIOS configuration */utils.importFile("audio.tci");/* DMA and MCBSP configuration from bsl c5400\dsk5416\include */utils.importFile("dsk5416_dma_mcbsp16_pcm3002.tci");/* Interrupt Service Routines for DMA channel 4 and 5 */HWI_SINT12.fxn = prog.extern("C54XX_DMA_MCBSP_isr");HWI_SINT12.useDispatcher = 1;HWI_SINT12.arg = 0x1;HWI_SINT13.fxn = prog.extern("C54XX_DMA_MCBSP_isr");HWI_SINT13.useDispatcher = 1;HWI_SINT13.arg = 0x0;/* Generate CDB file */prog.gen("audio.cdb");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -