pub struct InterruptStatusRegister32 { /* private fields */ }Expand description
Struct to implement a 32-bit interrupt status register.
Implementations§
Source§impl 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§
Source§impl Debug for InterruptStatusRegister32
impl Debug for InterruptStatusRegister32
Source§impl Default for InterruptStatusRegister32
impl Default for InterruptStatusRegister32
Source§fn default() -> InterruptStatusRegister32
fn default() -> InterruptStatusRegister32
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InterruptStatusRegister32
impl RefUnwindSafe for InterruptStatusRegister32
impl Send for InterruptStatusRegister32
impl Sync for InterruptStatusRegister32
impl Unpin for InterruptStatusRegister32
impl UnwindSafe for InterruptStatusRegister32
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