Struct dbs_interrupt::InterruptStatusRegister32
source · 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