请问PSOC里面USB的VENDOR命令是如何加进去的啊?

[复制链接]
 楼主| wangzsa 发表于 2015-3-9 21:02 | 显示全部楼层 |阅读模式
请问PSOC里面USB的VENDOR命令是如何加进去的啊?
zhuww 发表于 2015-3-9 21:03 | 显示全部楼层
To access the setup wizard, right click the USB User Module Icon in the device editor and click the USB Setup Wizard... menu item.

When the Device Descriptor tree is fully expanded, you see all the wizard options. The left side displays the name of the descriptor, the center displays the data, and the left displays the operation that may be performed for a particular descriptor. In some instances, a Descriptor has a pull-down menu that presents available options.
zhanglli 发表于 2015-3-9 21:04 | 显示全部楼层
了解一些USB的协议,不难发现,例如,当host向设备的端点0发厂商自定义命令时,设备的firmware要做的事情,就是要响应来自端点0的中断
hanwe 发表于 2015-3-9 21:05 | 显示全部楼层
在这个函数里添加你需要的内容  DR_VendorCmnd
 楼主| wangzsa 发表于 2015-3-9 21:06 | 显示全部楼层
好的,我知道了
 楼主| wangzsa 发表于 2015-3-9 21:08 | 显示全部楼层
哦,明白了,那没有什么办法了吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

914

主题

9040

帖子

5

粉丝
快速回复 在线客服 返回列表 返回顶部