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

#[repr(C)]pub struct InterruptRegisterSet {
    pub erstsz: EventRingSegmentTableSizeRegister,
    pub erstba: EventRingSegmentTableBaseAddressRegister,
    pub erdp: EventRingDequeuePointerRegister,
    // some fields omitted
}

Interrupt Register Set

Fields

erstsz: EventRingSegmentTableSizeRegister

Event Ring Segment Table Size Register

erstba: EventRingSegmentTableBaseAddressRegister

Event Ring Segment Table Base Address Register

erdp: EventRingDequeuePointerRegister

Event Ring Dequeue Pointer Register

Implementations

impl InterruptRegisterSet[src]

pub unsafe fn new<M>(
    mmio_base: usize,
    rtoff: RuntimeRegisterSpaceOffset,
    mapper: M
) -> Result<Array<Self, M>, Error> where
    M: Mapper
[src]

Creates an accessor to the Interrupt Register Set.

Safety

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

Errors

This method may return a accessor::Error::NotAligned error if the base address of the Interrupt Register Set is not aligned.

Trait Implementations

impl Clone for InterruptRegisterSet[src]

impl Copy for InterruptRegisterSet[src]

impl Debug for InterruptRegisterSet[src]

Auto Trait Implementations

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.