Enum capsules::usb::StandardDeviceRequest
[−]
[src]
pub enum StandardDeviceRequest {
GetStatus {
recipient_index: u16,
},
ClearFeature {
feature: FeatureSelector,
recipient_index: u16,
},
SetFeature {
feature: FeatureSelector,
test_mode: u8,
recipient_index: u16,
},
SetAddress {
device_address: u16,
},
GetDescriptor {
descriptor_type: DescriptorType,
descriptor_index: u8,
lang_id: u16,
requested_length: u16,
},
SetDescriptor {
descriptor_type: DescriptorType,
descriptor_index: u8,
lang_id: u16,
descriptor_length: u16,
},
GetConfiguration,
SetConfiguration {
configuration_value: u8,
},
GetInterface {
interface: u16,
},
SetInterface,
SynchFrame,
}Variants
GetStatusFields of GetStatus
recipient_index: u16 |
ClearFeatureFields of ClearFeature
feature: FeatureSelector | |
recipient_index: u16 |
SetFeatureFields of SetFeature
feature: FeatureSelector | |
test_mode: u8 | |
recipient_index: u16 |
SetAddressFields of SetAddress
device_address: u16 |
GetDescriptorFields of GetDescriptor
descriptor_type: DescriptorType | |
descriptor_index: u8 | |
lang_id: u16 | |
requested_length: u16 |
SetDescriptorFields of SetDescriptor
descriptor_type: DescriptorType | |
descriptor_index: u8 | |
lang_id: u16 | |
descriptor_length: u16 |
GetConfigurationSetConfigurationFields of SetConfiguration
configuration_value: u8 |
GetInterfaceFields of GetInterface
interface: u16 |
SetInterfaceSynchFrame