#[repr(C)]
pub struct usbd_status { pub data_buf: *mut c_void, pub data_ptr: *mut c_void, pub data_count: u16, pub data_maxsize: u16, pub ep0size: u8, pub device_cfg: u8, pub device_state: u8, pub control_state: u8, }
Expand description

USB device status data.

Fields§

§data_buf: *mut c_void

<\brief Pointer to data buffer used for control requests.

§data_ptr: *mut c_void

<\brief Pointer to current data for control request.

§data_count: u16

<\brief Count remained data for control request.

§data_maxsize: u16

<\brief Size of the data buffer for control requests.

§ep0size: u8

<\brief Size of the control endpoint.

§device_cfg: u8

<\brief Current device configuration number.

§device_state: u8

<\brief Current \ref usbd_machine_state.

§control_state: u8

<\brief Current \ref usbd_ctl_state.

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

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.