Struct xhci::registers::runtime::InterrupterManagementRegister
source · #[repr(transparent)]pub struct InterrupterManagementRegister(_);
Expand description
Interrupter Management Register.
Implementations§
source§impl InterrupterManagementRegister
impl InterrupterManagementRegister
sourcepub fn interrupt_pending(self) -> bool
pub fn interrupt_pending(self) -> bool
Returns the Interrupt Pending bit.
sourcepub fn clear_interrupt_pending(&mut self) -> &mut Self
pub fn clear_interrupt_pending(&mut self) -> &mut Self
Clears the Interrupt Pending bit.
sourcepub fn set_0_interrupt_pending(&mut self) -> &mut Self
pub fn set_0_interrupt_pending(&mut self) -> &mut Self
Set the Interrupt Pending bit to 0, preventing the bit from being cleared on write.
sourcepub fn interrupt_enable(self) -> bool
pub fn interrupt_enable(self) -> bool
Returns the Interrupt Enable bit.
sourcepub fn set_interrupt_enable(&mut self) -> &mut Self
pub fn set_interrupt_enable(&mut self) -> &mut Self
Sets the Interrupt Enable bit.
sourcepub fn clear_interrupt_enable(&mut self) -> &mut Self
pub fn clear_interrupt_enable(&mut self) -> &mut Self
Clears the Interrupt Enable bit.
Trait Implementations§
source§impl Clone for InterrupterManagementRegister
impl Clone for InterrupterManagementRegister
source§fn clone(&self) -> InterrupterManagementRegister
fn clone(&self) -> InterrupterManagementRegister
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for InterrupterManagementRegister
Auto Trait Implementations§
impl RefUnwindSafe for InterrupterManagementRegister
impl Send for InterrupterManagementRegister
impl Sync for InterrupterManagementRegister
impl Unpin for InterrupterManagementRegister
impl UnwindSafe for InterrupterManagementRegister
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more