pub struct SplitTarget {
pub hub_address: u8,
pub port: u8,
}Available on non-crate feature
bcm2712 only.Expand description
Locates the hub transaction translator a full/low-speed device sits behind, for split transactions. A full- or low-speed device plugged into a high-speed hub can’t talk to a high-speed host directly: the host issues the transaction to the hub’s transaction translator (a “start split”), which relays it to the device at the slower speed, then polls the translator for the result (a “complete split”). This says which translator — identified by the hub’s device address and the downstream port the device is on.
Fields§
§hub_address: u8Device address of the hub whose transaction translator relays to the device.
port: u8The hub’s downstream port number (1-based) the device is on.
Trait Implementations§
Source§impl Clone for SplitTarget
impl Clone for SplitTarget
impl Copy for SplitTarget
Source§impl Debug for SplitTarget
impl Debug for SplitTarget
impl Eq for SplitTarget
Source§impl PartialEq for SplitTarget
impl PartialEq for SplitTarget
impl StructuralPartialEq for SplitTarget
Auto Trait Implementations§
impl Freeze for SplitTarget
impl RefUnwindSafe for SplitTarget
impl Send for SplitTarget
impl Sync for SplitTarget
impl Unpin for SplitTarget
impl UnsafeUnpin for SplitTarget
impl UnwindSafe for SplitTarget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more