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,
}
Fields of GetStatus
Fields of ClearFeature
Fields of SetFeature
Fields of SetAddress
Fields of GetDescriptor
descriptor_type: DescriptorType | |
descriptor_index: u8 | |
lang_id: u16 | |
requested_length: u16 | |
Fields of SetDescriptor
descriptor_type: DescriptorType | |
descriptor_index: u8 | |
lang_id: u16 | |
descriptor_length: u16 | |
Fields of SetConfiguration
Fields of GetInterface
Formats the value using the given formatter. Read more