打印

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

[复制链接]
334|4
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
juventus9554|  楼主 | 2019-10-13 16:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
请问PSOC里面USB的VENDOR命令是如何加进去的啊?

使用特权

评论回复
沙发
stly| | 2019-10-13 16:19 | 只看该作者
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.

使用特权

评论回复
板凳
llljh| | 2019-10-13 16:22 | 只看该作者
了解一些USB的协议,不难发现,例如,当host向设备的端点0发厂商自定义命令时,设备的firmware要做的事情,就是要响应来自端点0的中断

使用特权

评论回复
地板
dingy| | 2019-10-13 16:28 | 只看该作者
在这个函数里添加你需要的内容  DR_VendorCmnd

使用特权

评论回复
5
llljh| | 2019-10-13 16:32 | 只看该作者
唉,还是没有什么结果,算了,多谢大家啦

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

900

主题

12190

帖子

3

粉丝