Struct xhci::registers::operational::UsbStatusRegister [−][src]
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]
fn clone(&self) -> UsbStatusRegister
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,