新增時間:HEAD
STRUCTS
UsbDeviceDescriptor
在 fuchsia.hardware.usb.descriptor/usb.fidl 中定義
| 欄位 | 類型 | 說明 | 預設 | 
|---|---|---|---|
| b_length | uint8 | 無預設 | |
| b_descriptor_type | uint8 | 無預設 | |
| bcd_usb | uint16 | 無預設 | |
| b_device_class | uint8 | 無預設 | |
| b_device_sub_class | uint8 | 無預設 | |
| b_device_protocol | uint8 | 無預設 | |
| b_max_packet_size0 | uint8 | 無預設 | |
| id_vendor | uint16 | 無預設 | |
| id_product | uint16 | 無預設 | |
| bcd_device | uint16 | 無預設 | |
| i_manufacturer | uint8 | 無預設 | |
| i_product | uint8 | 無預設 | |
| i_serial_number | uint8 | 無預設 | |
| b_num_configurations | uint8 | 無預設 | 
UsbEndpointDescriptor
在 fuchsia.hardware.usb.descriptor/usb.fidl 中定義
| 欄位 | 類型 | 說明 | 預設 | 
|---|---|---|---|
| b_length | uint8 | 無預設 | |
| b_descriptor_type | uint8 | 無預設 | |
| b_endpoint_address | uint8 | 無預設 | |
| bm_attributes | uint8 | 無預設 | |
| w_max_packet_size | uint16 | 無預設 | |
| b_interval | uint8 | 無預設 | 
UsbInterfaceDescriptor
在 fuchsia.hardware.usb.descriptor/usb.fidl 中定義
| 欄位 | 類型 | 說明 | 預設 | 
|---|---|---|---|
| b_length | uint8 | 無預設 | |
| b_descriptor_type | uint8 | 無預設 | |
| b_interface_number | uint8 | 無預設 | |
| b_alternate_setting | uint8 | 無預設 | |
| b_num_endpoints | uint8 | 無預設 | |
| b_interface_class | uint8 | 無預設 | |
| b_interface_sub_class | uint8 | 無預設 | |
| b_interface_protocol | uint8 | 無預設 | |
| i_interface | uint8 | 無預設 | 
UsbSetup
在 fuchsia.hardware.usb.descriptor/usb.fidl 中定義
| 欄位 | 類型 | 說明 | 預設 | 
|---|---|---|---|
| bm_request_type | uint8 | 無預設 | |
| b_request | uint8 | 無預設 | |
| w_value | uint16 | 無預設 | |
| w_index | uint16 | 無預設 | |
| w_length | uint16 | 無預設 | 
UsbSsEpCompDescriptor
在 fuchsia.hardware.usb.descriptor/usb.fidl 中定義
| 欄位 | 類型 | 說明 | 預設 | 
|---|---|---|---|
| b_length | uint8 | 無預設 | |
| b_descriptor_type | uint8 | 無預設 | |
| b_max_burst | uint8 | 無預設 | |
| bm_attributes | uint8 | 無預設 | |
| w_bytes_per_interval | uint16 | 無預設 | 
ENUMS
UsbSpeed strict
類型:uint32
在 fuchsia.hardware.usb.descriptor/usb.fidl 中定義
| 名稱 | 值 | 說明 | 
|---|---|---|
| 未定義 | 0 | |
| FULL | 1 | |
| 低 | 2 | |
| 高 | 3 | |
| SUPER | 4 | |
| ENHANCED_SUPER | 5 |