下载此文档

cypress-usb教程第3讲.ppt


文档分类:IT计算机 | 页数:约78页 举报非法文档有奖
1/78
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/78 下载此文档
文档列表 文档介绍
Lecture 3 Agenda
USB Requests
Enumeration
Every USB request and required response
Returned Descriptors
Hands-On
BULK OUCRIPT0R
SET_DESCRIPT0R
GET_C0NFIG
SET_CONFIG
GET_INTERFACE
SET_INTERFACE
SYNC_FRAME
01
03
05
06
07
08
09
0A
0B
STALL
other
bRequest
X
0
1
X
X
X
X
X
X
0
0
X
X
X
X
X
X
1
1
X
X
X
X
X
X
1
0
X
X
X
X
X
03
DEVICE
CONFIGURATION
STRING
01
02
0B
GET_REPORT
GET_IDLE
GET_PROTOCOL
SET_REPORT
SET_IDLE
SET_PROTOCOL
01
02
03
09
0A
STALL
other
23
HID
REPORT
PHYSICAL
21
22
STALL
other
wValueH
Interface 0
alt setting 0
Interface 0
alt setting 1
Interface 0
alt setting 2
Interface 1
alt setting 0
USB Device Structure
Configuration 0
EP0
EP0
EP1
EP2
EP3
EP8 (64)
EP0
EP1
EP2
EP3
EP8 (256)
EP0
EP0
EP0
EP1
EP2
EP3
EP8 (64)
EP0
EP1
EP2
EP3
EP8 (256)
EP0
Device
Interface 0
alt setting 0
Interface 0
alt setting 1
Interface 0
alt setting 2
Interface 1
alt setting 0
USB Requests
Configuration 1
EP0
EP0
EP1
EP2
EP3
EP8 (64)
EP0
EP1
EP2
EP3
EP8 (256)
EP0
EP0
EP0
EP1
EP2
EP3
EP8 (64)
EP0
EP1
EP2
EP3
EP8 (256)
EP0
Device
Get_Descriptor—DEVICE
Set_Address
Set_Feature—RWU
Get_Status--RWU
Get_Descriptor--CONFIG
Get_Configuration
Set_Configuration
Get_Interface (AS)
Set_Interface (AS)
Set_Feature—STALL
Get_Status (stall)
Initial Requests: Enumeration
Descriptors returned by the
device in response to the requests
are shown
with this shading
(Ref: TRM Chapter 5)
Device requests are shown
with this shading
(Ref: TRM Chapter 7)
Enumeration, Step by Step
Get_Descriptor--the hard way
Get_Descriptor—using EZ-USB Setup Data Pointer Ref: TRM Chapter 7
Get_Descriptor, Device
Device Descriptor
Set_Address
Get_Descriptor, Configuration
Configuration Descriptor
Configuration
Endpoint
Interface
Endpoint
Endpoint
Endpoint
Interface
Endpoint
Endpoint
Endpoint
Interface
Endpoint
Endpoint
Configuration Descriptor Length
Driver

cypress-usb教程第3讲 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数78
  • 收藏数0 收藏
  • 顶次数0
  • 上传人wxc6688
  • 文件大小1.38 MB
  • 时间2022-08-06