gio_usbtest.tci
来自「DSP/BIOS Driver Developer Kit 1.11 The 」· TCI 代码 · 共 37 行
TCI
37 行
/* * ======== gio_usbtest.tci ======== * 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). *//* * ======== tskEcho ======== */var tskEcho = tibios.TSK.create("TSK0");tskEcho.comment = "USB Echo Task";tskEcho.fxn = prog.extern("myUsbTask");tskEcho.priority = 1;/* * ======== udevUsb ======== */var udevUsb = tibios.UDEV.create("udevUsb");udevUsb.fxnTable = prog.extern("C5509_USB_Fxns");udevUsb.initFxn = prog.extern("C5509_USB_init");udevUsb.fxnTableType = "IOM_Fxns";udevUsb.params = prog.extern("usbDevParams");tibios.GIO.ENABLEGIO = 1;/* * Semaphore for device connect. * This semaphare gets posted when USB host requests * USB device configuration info from DSP. After * this semaphore gets posted the application is free to * send USB data. */var deviceConnect = tibios.SEM.create("usbDeviceConnect");deviceConnect.comment = "USB device connect semaphore";
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?