[][src]Struct xhci::registers::operational::Operational

pub struct Operational<M> where
    M: Mapper + Clone
{ pub usbcmd: Single<UsbCommandRegister, M>, pub usbsts: Single<UsbStatusRegister, M>, pub pagesize: Single<PageSizeRegister, M>, pub crcr: Single<CommandRingControlRegister, M>, pub dcbaap: Single<DeviceContextBaseAddressArrayPointerRegister, M>, pub config: Single<ConfigureRegister, M>, }

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]

pub unsafe fn new(
    mmio_base: usize,
    caplength: CapabilityRegistersLength,
    mapper: &M
) -> Result<Self, Error> where
    M: Mapper
[src]

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]

impl<M> Sync for Operational<M> where
    M: Sync
[src]

impl<M> Unpin for Operational<M> where
    M: Unpin
[src]

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.