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

Fields of GetStatus

Fields of ClearFeature

Fields of SetFeature

Fields of SetAddress

Fields of GetDescriptor

Fields of SetDescriptor

Fields of SetConfiguration

Fields of GetInterface

Trait Implementations

impl Debug for StandardDeviceRequest
[src]

[src]

Formats the value using the given formatter. Read more