pub struct DeviceSlot {
pub slot_id: u8,
pub state: SlotState,
pub port_number: u8,
pub speed: PortSpeed,
pub device_context_phys: u64,
pub input_context_phys: u64,
}Expand description
Per-device-slot tracking information
Fields§
§slot_id: u8Slot ID (1-based, assigned by hardware via Enable Slot)
state: SlotStateCurrent slot state
port_number: u8Root hub port number this device is connected to (1-based)
speed: PortSpeedUSB device speed
device_context_phys: u64Physical address of the device context (output context)
input_context_phys: u64Physical address of the input context