📄 async_mmccfg.tcf
字号:
/* * ======== async_mmccfg.tcf ======== * This file is used for textual configuration of DSP/BIOS as an alternative * or in addition to the traditional graphical configuration tool (GCONF). * For more information on textual configuration and the TCONF utility, * please refer to the DSP/BIOS TextConf User's Guide (SPRU007). *//* * Load the Platform file for the appropriate board */utils.loadPlatform("Evm5509");/* * Import EVM5509-specific parameters needed by the DDK examples. */utils.importFile("Evm5509_ddk.tci");/* * ======== udevMmc ======== */var udevMmc = tibios.UDEV.create("udevMmc0"); /* device app uses */udevMmc.fxnTable = prog.extern("C5509_MMC_FXNS"); /* IOM Fxn table */udevMmc.initFxn = prog.extern("C5509_MMC_init"); /* IOM init fxn */udevMmc.fxnTableType = "IOM_Fxns"; /* IOM driver model */udevMmc.params = prog.extern("C5509_MMC_devParams", "C"); /* app provides */udevMmc.deviceId = 1; /* Use MMC 1 peripheral *//* Driver uses global data */udevMmc.deviceGlobalDataPtr = prog.extern("C5509_MMC_devObj", "C");tibios.GIO.ENABLEGIO = 1;/* * Check if there have been errors and generate the configuration * database file. * */if (config.hasReportedError == false) { prog.gen();} else { throw new Error( "Error in config script -- database not generated." );}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -