#[repr(u8)]
pub enum BREQUEST_A {
    STD_GET_STATUS,
    STD_CLEAR_FEATURE,
    STD_SET_FEATURE,
    STD_SET_ADDRESS,
    STD_GET_DESCRIPTOR,
    STD_SET_DESCRIPTOR,
    STD_GET_CONFIGURATION,
    STD_SET_CONFIGURATION,
    STD_GET_INTERFACE,
    STD_SET_INTERFACE,
    STD_SYNCH_FRAME,
}
Expand description

SETUP data, byte 1, bRequest. Values provided for standard requests only, user must implement class and vendor values.

Value on reset: 0

Variants

STD_GET_STATUS

0: Standard request GET_STATUS

STD_CLEAR_FEATURE

1: Standard request CLEAR_FEATURE

STD_SET_FEATURE

3: Standard request SET_FEATURE

STD_SET_ADDRESS

5: Standard request SET_ADDRESS

STD_GET_DESCRIPTOR

6: Standard request GET_DESCRIPTOR

STD_SET_DESCRIPTOR

7: Standard request SET_DESCRIPTOR

STD_GET_CONFIGURATION

8: Standard request GET_CONFIGURATION

STD_SET_CONFIGURATION

9: Standard request SET_CONFIGURATION

STD_GET_INTERFACE

10: Standard request GET_INTERFACE

STD_SET_INTERFACE

11: Standard request SET_INTERFACE

STD_SYNCH_FRAME

12: Standard request SYNCH_FRAME

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.