Struct xhci::registers::runtime::Runtime[][src]

pub struct Runtime<M> where
    M: Mapper
{ pub mfindex: Single<MicroframeIndexRegister, M>, }

Runtime Registers

Note that this struct does not contain the interrupt register sets. Refer to InterruptRegisterSet.

Fields

mfindex: Single<MicroframeIndexRegister, M>

Microframe Index Register

Implementations

impl<M> Runtime<M> where
    M: Mapper
[src]

pub unsafe fn new(
    mmio_base: usize,
    rtoff: RuntimeRegisterSpaceOffset,
    mapper: M
) -> Self
[src]

Creates a new accessor to the Host Controller Runtime Registers.

Safety

The caller must ensure that the Host Controller Runtime Registers are accessed only through this struct.

Panics

This method panics if mmio_base is not aligned correctly.

Trait Implementations

impl<M: Debug> Debug for Runtime<M> where
    M: Mapper
[src]

Auto Trait Implementations

impl<M> Send for Runtime<M> where
    M: Send

impl<M> Sync for Runtime<M> where
    M: Sync

impl<M> Unpin for Runtime<M> where
    M: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.