Struct flipperzero_sys::usbd_ctlreq
source · #[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
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.