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
\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
Auto Trait Implementations
impl RefUnwindSafe for usbd_ctlreq
impl Send for usbd_ctlreq
impl Sync for usbd_ctlreq
impl Unpin for usbd_ctlreq
impl UnwindSafe for usbd_ctlreq
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more