Struct xhci::registers::operational::UsbStatusRegister
source · #[repr(transparent)]pub struct UsbStatusRegister(_);
Expand description
USB Status Register
Implementations§
source§impl UsbStatusRegister
impl UsbStatusRegister
sourcepub fn host_system_error(self) -> bool
pub fn host_system_error(self) -> bool
Returns the Host System Error bit.
sourcepub fn clear_host_system_error(&mut self) -> &mut Self
pub fn clear_host_system_error(&mut self) -> &mut Self
Clears the Host System Error bit.
sourcepub fn set_0_host_system_error(&mut self) -> &mut Self
pub fn set_0_host_system_error(&mut self) -> &mut Self
Set the Host System Error bit to 0, preventing the bit from being cleared on write.
sourcepub fn event_interrupt(self) -> bool
pub fn event_interrupt(self) -> bool
Returns the Event Interrupt bit.
sourcepub fn clear_event_interrupt(&mut self) -> &mut Self
pub fn clear_event_interrupt(&mut self) -> &mut Self
Clears the Event Interrupt bit.
sourcepub fn set_0_event_interrupt(&mut self) -> &mut Self
pub fn set_0_event_interrupt(&mut self) -> &mut Self
Set the Event Interrupt bit to 0, preventing the bit from being cleared on write.
sourcepub fn port_change_detect(self) -> bool
pub fn port_change_detect(self) -> bool
Returns the Port Change Detect bit.
sourcepub fn clear_port_change_detect(&mut self) -> &mut Self
pub fn clear_port_change_detect(&mut self) -> &mut Self
Clears the Port Change Detect bit.
sourcepub fn set_0_port_change_detect(&mut self) -> &mut Self
pub fn set_0_port_change_detect(&mut self) -> &mut Self
Set the Port Change Detect bit to 0, preventing the bit from being cleared on write.
sourcepub fn save_state_status(self) -> bool
pub fn save_state_status(self) -> bool
Returns the Save State Status bit.
sourcepub fn restore_state_status(self) -> bool
pub fn restore_state_status(self) -> bool
Returns the Restore State Status bit.
sourcepub fn save_restore_error(self) -> bool
pub fn save_restore_error(self) -> bool
Returns the Save/Restore Error bit.
sourcepub fn clear_save_restore_error(&mut self) -> &mut Self
pub fn clear_save_restore_error(&mut self) -> &mut Self
Clears the Save/Restore Error bit.
sourcepub fn set_0_save_restore_error(&mut self) -> &mut Self
pub fn set_0_save_restore_error(&mut self) -> &mut Self
Set the Save/Restore Error bit to 0, preventing the bit from being cleared on write.
sourcepub fn controller_not_ready(self) -> bool
pub fn controller_not_ready(self) -> bool
Returns the Controller Not Ready bit.
sourcepub fn host_controller_error(self) -> bool
pub fn host_controller_error(self) -> bool
Returns the Host Controller Error bit.
Trait Implementations§
source§impl Clone for UsbStatusRegister
impl Clone for UsbStatusRegister
source§fn clone(&self) -> UsbStatusRegister
fn clone(&self) -> UsbStatusRegister
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more