str71x-usb

所属分类:处理器开发
开发工具:C/C++
文件大小:132KB
下载次数:58
上传日期:2007-02-01 23:52:04
上 传 者apollo511
说明:  这是ST公司arm7芯片str710上面移植好的USB测试代码。
(This is the ST chip companies arm7 str710 above USB transplantation good test code.)

文件列表:
247370\str71x-usb\USB\USB.bin (11500, 2006-07-18)
247370\str71x-usb\USB\71x_conf.h (1509, 2005-05-27)
247370\str71x-usb\Common\str71x\include\71x_it.h (2327, 2006-06-21)
247370\str71x-usb\Common\str71x\include\71x_lib.h (2055, 2006-01-27)
247370\str71x-usb\Common\str71x\include\71x_map.h (11640, 2006-07-18)
247370\str71x-usb\Common\str71x\include\71x_type.h (2234, 2006-01-27)
247370\str71x-usb\Common\str71x\include\adc12.h (7921, 2006-01-27)
247370\str71x-usb\Common\str71x\include\apb.h (3523, 2006-01-27)
247370\str71x-usb\Common\str71x\include\bspi.h (15513, 2006-01-27)
247370\str71x-usb\Common\str71x\include\can.h (16306, 2006-01-27)
247370\str71x-usb\Common\str71x\include\eic.h (7906, 2006-07-18)
247370\str71x-usb\Common\str71x\include\emi.h (2154, 2006-01-27)
247370\str71x-usb\Common\Ethernet.h (2322, 2005-09-05)
247370\str71x-usb\Common\str71x\include\flash.h (11452, 2006-06-14)
247370\str71x-usb\Common\FlashHelper.h (1572, 2006-06-14)
247370\str71x-usb\Common\str71x\include\gpio.h (5573, 2006-07-11)
247370\str71x-usb\Common\str71x\include\i2c.h (13200, 2006-07-29)
247370\str71x-usb\Common\Key.h (542, 2006-06-23)
247370\str71x-usb\Common\LCD.h (315, 2005-04-21)
247370\str71x-usb\Common\LED.h (308, 2005-05-26)
247370\str71x-usb\Common\USB\mouse_demo\mouse.h (135, 2006-07-11)
247370\str71x-usb\Common\str71x\include\pcu.h (7308, 2006-01-27)
247370\str71x-usb\Common\PingTest.h (853, 2005-04-21)
247370\str71x-usb\Common\str71x\include\rccu.h (12606, 2006-07-17)
247370\str71x-usb\Common\str71x\include\rtc.h (7855, 2006-01-27)
247370\str71x-usb\Common\str71x\include\tim.h (14949, 2006-01-27)
247370\str71x-usb\Common\str71x\include\uart.h (17965, 2006-01-27)
247370\str71x-usb\Common\USB\mouse_demo\usb_conf.h (2998, 2004-01-21)
247370\str71x-usb\Common\USB\core_files\usb_core.h (6311, 2004-01-21)
247370\str71x-usb\Common\USB\core_files\usb_def.h (2452, 2004-01-21)
247370\str71x-usb\Common\USB\mouse_demo\usb_desc.h (810, 2004-01-21)
247370\str71x-usb\Common\USB\core_files\usb_init.h (1422, 2004-01-21)
247370\str71x-usb\Common\USB\core_files\usb_int.h (368, 2004-01-21)
247370\str71x-usb\Common\USB\core_files\usb_lib.h (480, 2004-01-21)
247370\str71x-usb\Common\USB\mouse_demo\usb_mem.h (587, 2004-01-21)
247370\str71x-usb\Common\USB\mouse_demo\usb_prop.h (660, 2004-01-21)
247370\str71x-usb\Common\USB\mouse_demo\usb_pwr.h (1055, 2004-01-21)
247370\str71x-usb\Common\USB\core_files\usb_regs.h (27077, 2005-05-25)
247370\str71x-usb\Common\USB\mouse_demo\usb_rw.h (576, 2004-01-21)
247370\str71x-usb\Common\USB\core_files\usb_type.h (677, 2004-01-21)
... ...

程序演示了一个USB鼠标的应用。 运行时用USB线连接开发板与PC机, PC将自动识别出设备类型并准备驱动。 当一切配置完成后(此时L3会亮起),可以用板上的按键来模拟鼠标动作( K1代表左,K2代表上,K3代表下,K4代表右,K5代表鼠标左键,K2与K3同时按下代表鼠标右键)。 注意:第一次测试时,如果在程序未运行前即用USB线连接开发板与PC机,则会显示无法识别USB设备。 这是因为此时程序还未运行,相关设备及接口没有被初始化。当程序执行一段时间,初始化工作完成后,会不断循环检测设备是否配置好。 应该在此时用USB线连接开发板与PC机,这样程序会检测到设备已配置,从而会进一步执行下去。 此外,测试程序还提供了工程编译成功后生成的二进制镜像(BIN)文件。

近期下载者

相关文件


收藏者