Enum nrf52840_hal::pac::usbd::brequest::BREQUEST_A[][src]

#[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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

Should always be Self

Casts the value.

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.

Casts the value.

Casts the value.