📄 gio_usbtest.tci
字号:
/* * ======== 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -