Struct dbs_interrupt::InterruptStatusRegister32
source · pub struct InterruptStatusRegister32 { /* private fields */ }Expand description
Struct to implement a 32-bit interrupt status register.
Implementations
sourceimpl InterruptStatusRegister32
impl InterruptStatusRegister32
sourcepub fn read_and_clear(&self) -> u32
pub fn read_and_clear(&self) -> u32
Read current value and reset the status register to 0.
sourcepub fn clear_bits(&self, value: u32)
pub fn clear_bits(&self, value: u32)
Clear bits present in value.
Trait Implementations
sourceimpl Debug for InterruptStatusRegister32
impl Debug for InterruptStatusRegister32
sourceimpl Default for InterruptStatusRegister32
impl Default for InterruptStatusRegister32
sourcefn default() -> InterruptStatusRegister32
fn default() -> InterruptStatusRegister32
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for InterruptStatusRegister32
impl Send for InterruptStatusRegister32
impl Sync for InterruptStatusRegister32
impl Unpin for InterruptStatusRegister32
impl UnwindSafe for InterruptStatusRegister32
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more