文件名称:STM32_HID
介绍说明--下载内容来自于网络,使用问题请自行百度
1,将STM32的USB枚举为HID设备。
2,STM32使用3个端点,端点0用于枚举用,端点1和2用于数据的发送和接收。
3,端点长度为64,也就是单次最多可以传输64个字节数据。
4,STM32获取上位机下发的数据并将该数据通过USB原样返回,同时将数据打印输出。
5,上位机程序通过调用windows的API实现对HID设备的读写控制。(1, the STM32's USB is enumerated as a HID device.
2, STM32 uses 3 endpoints, the endpoint 0 is used for enumeration, and the endpoints 1 and 2 are used for sending and receiving data.
3, the endpoint length is 64, that is to say, a single pass can transmit 64 byte data at most.
4, STM32 gets the data sent by the host computer and returns the data through the original USB, and prints and outputs the data at the same time.
5, the upper computer program realizes the read and write control of HID device by calling the API of windows.)
2,STM32使用3个端点,端点0用于枚举用,端点1和2用于数据的发送和接收。
3,端点长度为64,也就是单次最多可以传输64个字节数据。
4,STM32获取上位机下发的数据并将该数据通过USB原样返回,同时将数据打印输出。
5,上位机程序通过调用windows的API实现对HID设备的读写控制。(1, the STM32's USB is enumerated as a HID device.
2, STM32 uses 3 endpoints, the endpoint 0 is used for enumeration, and the endpoints 1 and 2 are used for sending and receiving data.
3, the endpoint length is 64, that is to say, a single pass can transmit 64 byte data at most.
4, STM32 gets the data sent by the host computer and returns the data through the original USB, and prints and outputs the data at the same time.
5, the upper computer program realizes the read and write control of HID device by calling the API of windows.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
PC_HID.zip | 136811 | 2012-10-12 |
stm32_usb_hid.zip | 2743043 | 2016-05-01 |
usb_hid_stm32f105_107.rar | 2263606 | 2012-10-12 |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.