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

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

USB Status Register

Implementations

impl UsbStatusRegister[src]

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

Returns the value of the HCHalted bit.

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

Returns the value of the Host System Error bit.

pub fn clear_host_system_error(&mut self)[src]

Clears the Host System Error bit.

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

Returns the value of the Event Interrupt bit.

pub fn clear_event_interrupt(&mut self)[src]

Clears the Event Interrupt bit.

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

Returns the value of the Port Change Detect bit.

pub fn clear_port_change_detect(&mut self)[src]

Clears the Port Change Detect bit.

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

Returns the value of the Save State Status field.

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

Returns the value of the Restore State Status field.

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

Returns the value of the Save/Restore Error field.

pub fn clear_save_restore_error(&mut self)[src]

Clears the Save/Restore Error field.

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

Returns the value of the Controller Not Ready bit.

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

Returns the value of the Host Controller Error bit.

Trait Implementations

impl Clone for UsbStatusRegister[src]

impl Copy for UsbStatusRegister[src]

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