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

#[repr(transparent)]pub struct UsbCommandRegister(_);

USB Command Register

Implementations

impl UsbCommandRegister[src]

#[must_use]pub fn run_stop(self) -> bool[src]

Returns the value of the Run/Stop bit.

pub fn set_run_stop(&mut self, b: bool)[src]

Sets the value of the Run/Stop bit.

#[must_use]pub fn host_controller_reset(self) -> bool[src]

Returns the value of the Host Controller Reset bit.

pub fn set_host_controller_reset(&mut self, b: bool)[src]

Sets the value of the Host Controller Reset bit.

#[must_use]pub fn interrupter_enable(self) -> bool[src]

Returns the value of the Interrupter Enable bit.

pub fn set_interrupter_enable(&mut self, b: bool)[src]

Sets the value of the Interrupter Enable bit.

#[must_use]pub fn host_system_error_enable(self) -> bool[src]

Returns the value of the Host System Error Enable bit.

pub fn set_host_system_error_enable(&mut self, b: bool)[src]

Sets the value of the Host System Error Enable bit.

#[must_use]pub fn light_host_controller_reset(self) -> bool[src]

Returns the value of the Light Host Controller Reset bit.

pub fn set_light_host_controller_reset(&mut self, b: bool)[src]

Sets the value of the Light Host Controller Reset bit.

#[must_use]pub fn controller_save_state(self) -> bool[src]

Returns the value of the Controller Save State bit.

pub fn set_controller_save_state(&mut self, b: bool)[src]

Sets the value of the Controller Save State bit.

#[must_use]pub fn controller_restore_state(self) -> bool[src]

Returns the value of the Controller Restore State bit.

pub fn set_controller_restore_state(&mut self, b: bool)[src]

Sets the value of the Controller Restore State bit.

#[must_use]pub fn enable_wrap_event(self) -> bool[src]

Returns the value of the Enable Wrap Event bit.

pub fn set_enable_wrap_event(&mut self, b: bool)[src]

Sets the value of the Enable Wrap Event bit.

#[must_use]pub fn enable_u3_mfindex_stop(self) -> bool[src]

Returns the value of the Enable U3 MFINDEX Stop bit.

pub fn set_enable_u3_mfindex_stop(&mut self, b: bool)[src]

Sets the value of the Enable U3 MFINDEX Stop bit.

#[must_use]pub fn cem_enable(self) -> bool[src]

Returns the value of the CEM Enable bit.

pub fn set_cem_enable(&mut self, b: bool)[src]

Sets the value of the CEM Enable bit.

#[must_use]pub fn extended_tbc_enable(self) -> bool[src]

Returns the value of the Extended TBC Enable bit.

pub fn set_extended_tbc_enable(&mut self, b: bool)[src]

Sets the value of the Extended TBC Enable bit.

#[must_use]pub fn extended_tbc_status_enable(self) -> bool[src]

Returns the value of the Extended TBC Status Enable bit.

pub fn set_extended_tbc_status_enable(&mut self, b: bool)[src]

Sets the value of the Extended TBC Status Enable bit.

#[must_use]pub fn vtio_enable(self) -> bool[src]

Returns the value of the VTIO Enable bit.

pub fn set_vtio_enable(&mut self, b: bool)[src]

Sets the value of the VTIO Enable bit.

Trait Implementations

impl Clone for UsbCommandRegister[src]

impl Copy for UsbCommandRegister[src]

impl Debug for UsbCommandRegister[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.