-
weeks D12 development board, who were brought to the Windows XP drivers, the com...
周立功D12开发板中带的WINDOWS XP驱动程序,在编译后会出现USB设备不能正常工作. 以下是修改的代码,修改后可以正常工作. 在d12.c和Ioctl.c中, 将+256去掉,这个会引去枚举设备时,设备描述符的长度不对,修改后: siz = sizeof(USB_CONFIGURATION_DESCRIPTOR) 在d12.c中的D12_SelectInterface函数中, 设备查询完接口后有一段代码,也会引起驱动返回不对,需要屏蔽下面的代码 // Retrieve the selected Configuration and Interface 修改上面两处后,USB可以正常使用了. -weeks D12 development board, who were brought to the Windows XP drivers, the compiler will happen after the USB device not working properly. Following is the revised code, revised after normal work. In d12.c and Ioctl.c, 256 will be removed, this will generate to Enumerate equipment located descriptors up the length wrong, the revised : not = sizeof (USB_CONFIGURATION_DESCRIPTOR) in the D12_SelectInterface d12.c function, equipment End interface for a period after the code can also lead to wrong drivers need to shield the following code// Retrieve the selected Configuration Interface and the above two changes, USB can use the normal.
- 2022-06-28 00:42:14下载
- 积分:1
-
基于stm32的ucosII程序实现4x2键盘检测
基于keil开发平台,在stm32板子上实现4x2键盘检测。程序完全正确能够完美实现功能。
部分代码摘录:
void Task1(void *pdata)
{
u8 key;
while(1)
{
key=KEY_Scan();
if(key==1)
{
digitalToggle(GPIOD,GPIO_Pin_7); //D4亮
OSTimeDlyHMSM(0,0,1,0);
}
if(key==2)
{
digitalToggle(GPIOD,GPIO_Pin_6); //D5亮
OSTimeDlyHMSM(0,0,1,0);
}
if(key==3)
{
digitalToggle(GPIOD,GPIO_Pin_5); //D6亮
OSTimeDlyHMSM(0,0,1,0);
}
if(key==4)
{
&n
- 2022-08-12 16:41:51下载
- 积分:1
-
wince下的画多功能曲线的控件
应用背景该控件参考wxwidget的plot控件进行修改和功能编写而来。可直接在wince和win32下使用。该控件跟我的另一个控件相比,功能更多,结构也更清楚,但绘制曲线的效率却没那么高。只适合一般小数据量场合应用,但扩展性还可以。可以很容易扩展出各种需要的曲线形式。最大的优点是,能在一个控件上直接通过配置参数等,让同一组数据用多种不同的图形形式进行展现。这也是我当时参考wxwidgets的控件的原因。特别注意,该程序在wince下的效率不高。若需绘制大量数据的,可参见我的另一个控件。关键技术该控件根据wxwidget的plot控件进行修改和功能添加。采用mvc结构,保留了原控件的最基础的类,自己修改完成普通2维曲线绘制,重新编写了3维曲线绘制,新增了瀑布图、屏幕色阶图绘制。
- 2022-01-24 16:21:15下载
- 积分:1
-
摄像头查看相机服务器版本1.0.5 chipsbrain工程师最终版本
WebCam Viewer Camera Server Version 1.0.5 Chipsbrain Engineer Final Release
-Address WebCam Viewer Camera Server Version 1.0.5 Chipsbrain Engineer Final Release
- 2022-08-17 11:08:12下载
- 积分:1
-
ch375 usb stm32
应用背景usb host 鼠标,键盘,usb设备,读取鼠标数据关键技术usb host ,stm32通过ch375作为主机读取usb设备数据
- 2023-07-19 20:15:07下载
- 积分:1
-
液晶t6963驱动芯片程序范例
液晶t6963驱动芯片程序范例-LCD driver chips procedures example
- 2022-03-01 18:43:33下载
- 积分:1
-
wifi的参考原理图,很有价值的,是wifi模块用的比较多的一款
wifi的参考原理图,很有价值的,是wifi模块用的比较多的一款
-wifi schematic diagram of reference of great value is that the wifi module used in a relatively more
- 2023-07-10 05:10:04下载
- 积分:1
-
6502 Assembly Code Examples
6502 Assembly Code Examples
- 2023-02-15 22:20:03下载
- 积分:1
-
VC+ 6.0 prepared by the Muslim prayer calculation procedures. Comparison of proc...
VC+6.0 编写的关于计算穆斯林祷告的程序.
比较使用的应用小程序-VC+ 6.0 prepared by the Muslim prayer calculation procedures. Comparison of procedures used by the application of small
- 2023-05-31 12:05:03下载
- 积分:1
-
基于Lwip的TFTP Server
资源描述基于Lwip的TFTP Server,修改了STM32开发包中源码的bug,经过测试,正式发布的代码。
- 2022-01-25 16:48:23下载
- 积分:1