[][src]Enum nrf52840_pac::usbd::brequest::BREQUEST_A

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

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

impl Clone for BREQUEST_A[src]

impl Copy for BREQUEST_A[src]

impl Debug for BREQUEST_A[src]

impl From<BREQUEST_A> for u8[src]

impl PartialEq<BREQUEST_A> for BREQUEST_A[src]

impl StructuralPartialEq for BREQUEST_A[src]

Auto Trait Implementations

impl Send for BREQUEST_A

impl Sync for BREQUEST_A

impl Unpin for BREQUEST_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.