#[repr(C)]
pub struct usbd_ctlreq { pub bmRequestType: u8, pub bRequest: u8, pub wValue: u16, pub wIndex: u16, pub wLength: u16, pub data: __IncompleteArrayField<u8>, }
Expand description

\brief Represents generic USB control request.

Fields§

§bmRequestType: u8

<\brief This bitmapped field identifies the characteristics of the specific request.

§bRequest: u8

<\brief This field specifies the particular request.

§wValue: u16

<\brief It is used to pass a parameter to the device, specific to the request.

§wIndex: u16

<\brief It is used to pass a parameter to the device, specific to the request.

§wLength: u16

<\brief This field specifies the length of the data transferred during the second phase of the control transfer.

§data: __IncompleteArrayField<u8>

<\brief Data payload.

Trait Implementations§

Formats the value using the given formatter. 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.