⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sio_usbtest.tci

📁 DSP/BIOS Driver Developer Kit 1.11 The DSP/BIOS Driver Developer Kit (DDK) provides a selection of
💻 TCI
字号:
/* *  ======== sio_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;/* *  Add instance of DIO object to use the configured USB device. *  This is the device SIO streams use. */var dioUsb = tibios.DIO.create("dioUsb");dioUsb.comment = "DIO Adapter for IOM Codec driver" ;dioUsb.deviceName = prog.get("udevUsb");dioUsb.useCallBackFxn = false;dioUsb.chanParams = null;/* * ======== semaphore for device connect ======== *  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 + -