📄 usbtest_params.c
字号:
/*
* Copyright 2003 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
/* "@(#) DDK 1.11.00.00 11-04-03 (ddk-b13)" */
/*
* ======== usbtest_params.c ========
* C5509_USB IOM default driver parameters
*/
#include <std.h>
#include <c5509_usb.h>
extern C5509_USB_DeviceConfig myDeviceConfig; /* device configuration */
extern C5509_USB_IfcConfig myIfcConfig; /* USB endpoint configuration */
/*
* ======== usbDevParams ========
* Device configuration structure.
* Application program must correctly initialize devParams structure.
* It is passed to C5509_USB_mdBindDev() to initialize the usb device.
*/
C5509_USB_DevParams usbDevParams = {
C5509_USB_VERSION_1, /* version number 1 */
C5509_USB_IER0MASKDEFAULT, /* ier0mask=1 mask self(USB) intr */
C5509_USB_IER1MASKDEFAULT, /* ier1mask=1 " */
C5509_USB_INCLK12MHZ, /* inclk, input clock is 12 Mhz */
C5509_USB_PLLDIVDEFAULT, /* plldiv, PLL divide value = 0 */
C5509_USB_PSOFTMRCNTDEFAULT, /* pSofTmrCnt = 128 */
&myDeviceConfig, /* USB device configuration */
&myIfcConfig /* USB interface endpoints configuration */
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -