Struct xhci::registers::operational::Operational [−][src]
Host Controller Operational Registers
This struct does not contain the Port Register set.
Fields
usbcmd: Single<UsbCommandRegister, M>
USB Command Register
usbsts: Single<UsbStatusRegister, M>
USB Status Register
pagesize: Single<PageSizeRegister, M>
Page Size Register
dnctrl: Single<DeviceNotificationControl, M>
Device Notification Control
crcr: Single<CommandRingControlRegister, M>
Command Ring Control Register
dcbaap: Single<DeviceContextBaseAddressArrayPointerRegister, M>
Device Context Base Address Array Pointer Register
config: Single<ConfigureRegister, M>
Configure Register
Implementations
impl<M> Operational<M> where
M: Mapper + Clone,
[src]
M: Mapper + Clone,
pub unsafe fn new(
mmio_base: usize,
caplength: CapabilityRegistersLength,
mapper: &M
) -> Self where
M: Mapper,
[src]
mmio_base: usize,
caplength: CapabilityRegistersLength,
mapper: &M
) -> Self where
M: Mapper,
Creates a new accessor to the Host Controller Operational Registers.
Safety
The caller must ensure that the Host Controller Operational Registers are accessed only through this struct.
Panics
This method panics if the base address of the Host Controller Operational Registers is not aligned correctly.
Trait Implementations
Auto Trait Implementations
impl<M> Send for Operational<M> where
M: Send,
M: Send,
impl<M> Sync for Operational<M> where
M: Sync,
M: Sync,
impl<M> Unpin for Operational<M> where
M: Unpin,
M: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,