usb-descriptor(三)
device_auqlifier
offset | field | size | value | description | 描述 |
---|---|---|---|---|---|
0 | blength | 1 | number | size of descriptor | 長度 |
1 | bdescriptortype | 1 | constant | device qualifier type | 描述符型別 0x6 |
2 | bcdUSB | 2 | BCD | USB specification version numeber (e.g.0200H for V2.00) | 支援的usb規格版本號 |
4 | bdeviceclass | 1 | class | class code | 裝置型別號 |
5 | bdevicesubclass | 1 | subclass | subclass code | 裝置的子類號 |
6 | bdeviceprotocol | 1 | protocol | protocol code | 支援裝置協議 |
7 | bmaxpacketsize0 | 1 | number | maximum packet size for other speed | 最大包尺寸 |
8 | bnumconfigurations | 1 | number | number of other-speed configurations | 配置索引號 |
9 | breserved | 1 | zero | reserved for future use,must be zero | 未來保留 |
Other_speed_configuration描述符
同時支援全速和高速的裝置,必須有一個other_speed_configuration描述符,詞描述符的結構和配置描述符相同,唯一的差別是other_speed_configurations描述符描述的是當裝置在非作用中速度時的配置,Other_speed_configuration描述符與裝置配置描述符相同。
other speed configuration
offset | field | size | value | description | 描述 |
---|---|---|---|---|---|
0 | bLength | 1 | number | size of descriptor | |
1 | bdescriptortype | 1 | constant | 描述符型別 :0x7 | |
2 | wtotallength | 2 | number | 此資料傳回的資料總大小 | |
4 | bnumberinterface | 1 | number | 支援的藉口總數 | |
5 | bconfigrationvalue | 1 | Set_configuration與get_configuration要求的識別符號 | ||
6 | iconfigration | 1 | index | 此配置的字串描述符的索引值 | |
7 | bmattributes | 1 | bitmap | 自身電源/匯流排電源以及遠端喚醒設定 | |
8 | bmaxpower | 1 | mA | 需要匯流排電源,標識法為(最大mA/2) |
相關文章
- usb-descriptor(一 )
- usb-descriptor(二)
- 第三週週三
- Redis叢集搭建 三主三從Redis
- Redis叢集搭建(三主三從)Redis
- 第三週作業(三):wc程式C程式
- MySQL(三)MySql
- JVM(三)JVM
- canvas(三)Canvas
- redis(三)Redis
- jQuery(三)jQuery
- Oracle 系統監控建置三(共三)Oracle
- 三種方法實現CSS三欄佈局CSS
- 京東小程式的三生三世
- HP-UX老三篇 新三篇UX
- 資訊系統三怕三不怕
- 面試篇三面試
- 泛型(三)泛型
- Flutter 三探Flutter
- 巧用 TypeScript(三)TypeScript
- 三、函式函式
- (三)陣列陣列
- (三)需求分析
- Seastar 教程(三)AST
- 《敏捷革命》(三)敏捷
- OkHttp - Interceptors(三)HTTP
- PHP面試(三)PHP面試
- Nim教程【三】
- 網頁遊戲(三)網頁遊戲
- 三個ERROR!Error
- 三中
- redis cluster + sentinel詳細過程和錯誤處理三主三備三哨兵Redis
- LeetCode第三題三部曲之三:兩次最佳化LeetCode
- 團隊成員篩選的核心祕檔:三否三拒三不動
- java基礎(三)—–java的三大特性之多型Java多型
- 第三章(三自學)擴充套件套件
- Linux (三劍客之三) awk命令詳解Linux
- 第三章 資料鏈路層(三)