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

pub struct Operational<M> where
    M: Mapper + Clone
{ pub usbcmd: Single<UsbCommandRegister, M>, pub usbsts: Single<UsbStatusRegister, M>, pub pagesize: Single<PageSizeRegister, M>, pub dnctrl: Single<DeviceNotificationControl, 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

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]

pub unsafe fn new(
    mmio_base: usize,
    caplength: CapabilityRegistersLength,
    mapper: &M
) -> Self 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.

Panics

This method panics if the base address of the Host Controller Operational Registers is not aligned correctly.

Trait Implementations

impl<M: Debug> Debug for Operational<M> where
    M: Mapper + Clone
[src]

Auto Trait Implementations

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

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

impl<M> Unpin for Operational<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.