sunion
驱动牛犊
驱动牛犊
  • 注册日期2001-11-19
  • 最后登录2004-06-17
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1550回复:2

求知!!!

楼主#
更多 发布于:2002-05-20 15:37
请问哪位大虾知道在DS自带的例子usbtherm的读例程中的
2, // request
该参数的2是怎样确定?

pCompInfo->m_pUrb = m_Usb.BuildVendorRequest(
pCompInfo->m_buffer, // transfer buffer
8, // transfer buffer size
0, // request reserved bits
2, // request
offset, // Value
TRUE, // In
FALSE, // Short Ok
NULL, // link urb
0, // index
URB_FUNCTION_VENDOR_ENDPOINT // function
);
znsoft
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2023-10-25
  • 粉丝300
  • 关注6
  • 积分910分
  • 威望14796点
  • 贡献值7点
  • 好评度2410点
  • 原创分5分
  • 专家分100分
  • 社区居民
  • 最爱沙发
  • 社区明星
沙发#
发布于:2002-05-20 17:38
Request
Specifies the request code for the device. The request code is defined by the USB class, or by the vendor of the device.

http://www.zndev.com 免费源码交换网 ----------------------------- 软件创造价值,驱动提供力量! 淡泊以明志,宁静以致远。 ---------------------------------- 勤用搜索,多查资料,先搜再问。
rayyang2000
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2012-09-13
  • 粉丝3
  • 关注0
  • 积分1036分
  • 威望925点
  • 贡献值3点
  • 好评度823点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-05-20 19:33
由写firmware的人定
天天coding-debugging中----超稀饭memory dump file ======================================================== [b]Windows Device Driver Development and Consulting Service[/b] [color=blue][url]http://www.ybwork.com[/url][/color] ========================================================
游客

返回顶部