登录
首页 » USB develop » USB设备

USB设备

于 2022-01-21 发布 文件大小:1.70 MB
0 194
下载积分: 2 下载次数: 1

代码说明:

USB设备端固件程序,枚举部分是全部程序的基础和重心,只有主机对设备枚举成功后,主机才能和设备进行正常的通信 USB的枚举过程分为4个状态. 1.接入态 v主机检测到USB设备插上,击活端口,并发送复位命令(保持10ms) 2.默认态 v主机使用默认地址读取设备描述符 (GET_DESCRIPTOR) v主机分配给设备一个总在线的唯一地址 (SET_ADDRESS) 3.地址态 v主机从新的地址获取设备描述符(GET_DESCRIPTOR) v主机获取所有设备的配置描述符(GET_DESCRIPTOR) 4.配置态 v主机设置描述符(设备,配置) (SET_CONFIGURATION) v主机读取配置状态(可选) (GET_CONFIGURATION) v主机读取接口状态(可选) (GET_INTERFACE) -USB device-side firmware, enumerate all part of the foundation and focus of the procedure, only the host of equipment after the successful enumeration, the host and equipment in order to engage in normal communication USB enumeration process is divided into four status. 1. Access state v host detected USB devices plug in, hit live ports, and send the reset command (to maintain 10ms) 2. default state v Use the default address of the host to read device descriptor (GET_DESCRIPTOR) v host assigned to the equipment of a total online only Address (SET_ADDRESS) 3. A

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • this procedure with 180 OK C code can read FAT16 file system drives the root dir...
    这个程序用180行C代码就能够读取FAT16文件系统U盘的根目录,可以看到根目录下的文件名,并可显示首文件内容,不过,该程序很不严谨,也没有任何错误处理,对U盘兼容性较差,只是用于简单试验,作为参考.这个程序可以支持WINDOWS按FAT16格式化的U盘,因为程序精简,所以只兼容超过50%以上的U盘品牌,如果换成CH375A芯片则兼容性可提高到85%,当然,如果使用WCH公司的子程序库或者正式版本的C源程序兼容性更好-this procedure with 180 OK C code can read FAT16 file system drives the root directory, we can see the root directory under the file name, would show the first document, but the very stringent procedures, and there is no error handling, the U-poor compatibility, but for the simple the pilot, as a reference. this procedure can be supported by Windows FAT16 formatted U disk, because the procedure is streamlined and therefore only compatible with more than 50% of the U-brand, if chips were replaced CH375A compatibility can be increased to 85%, if the company"s use of WCH Subroutine Library or an official version of the C source better compatibility
    2023-01-03 09:35:04下载
    积分:1
  • 高
    高性能USB转串口(可高达10Mbps)完整的源代码-High-performance USB to Serial (up to 10Mbps) complete source code
    2023-05-26 02:40:03下载
    积分:1
  • THIS SPECIFICATION IS PROVIDED TO YOU “AS IS” WITH NO WARRANTIES WHATSOEVER, INC...
    2022-07-18 13:46:08下载
    积分:1
  • usb鼠标开发的全部打包资料
    usb鼠标开发的全部打包资料-usb mouse development of the full package of information
    2023-06-16 03:55:04下载
    积分:1
  • usb Development Series text crotch, meaning there are usb design, and program de...
    usb开发系列文裆,内涵有usb设计图,和程序开发-usb Development Series text crotch, meaning there are usb design, and program development
    2022-01-22 11:58:25下载
    积分:1
  • usb手柄电话usb驱动袁代码
    usb手柄电话usb驱动袁代码-usb handle telephone usb drive Yuan code
    2022-05-05 12:18:16下载
    积分:1
  • USB显示器
    USB monitor
    2022-02-07 03:39:22下载
    积分:1
  • USB程序
    usb编程源代码,有注释,可以自学。或者修改之后应用其他程序。-usb program
    2022-02-18 16:51:12下载
    积分:1
  • EZ-USB FX2的一个单字读和单字写的程序,利用GPIF轻松实现,值得一看-EZ-USB FX2 in a word read and write words of procedure, and use GPIF easily, an eye-catcher
    2022-08-17 02:09:52下载
    积分:1
  • USB2.0的通信协议,详解,好东西,来自网络,非原创
    USB2.0的通信协议,详解,好东西,来自网络,非原创 -USB2.0 communication protocol, detailed, good things, from the network, non-original
    2022-07-23 08:04:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载