[−][src]Struct xhci::registers::operational::Operational
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
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
) -> Result<Self, Error> where
M: Mapper,
[src]
mmio_base: usize,
caplength: CapabilityRegistersLength,
mapper: &M
) -> Result<Self, Error> 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.
Errors
This method may return an accessor::Error::NotAligned
error if mmio_base
is not aligned.
Auto Trait Implementations
impl<M> Send for Operational<M> where
M: Send,
[src]
M: Send,
impl<M> Sync for Operational<M> where
M: Sync,
[src]
M: Sync,
impl<M> Unpin for Operational<M> where
M: Unpin,
[src]
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>,