Struct IrqSr
#[repr(transparent)]pub struct IrqSr(pub u32);Expand description
IRQ_SR register.
Tuple Fields§
§0: u32Implementations§
§impl IrqSr
impl IrqSr
pub const fn ff_full_irq(&self) -> bool
pub const fn ff_full_irq(&self) -> bool
Set to 1 when the output fifo is full of new random. Flag is cleared by writing a 1.
pub fn set_ff_full_irq(&mut self, val: bool)
pub fn set_ff_full_irq(&mut self, val: bool)
Set to 1 when the output fifo is full of new random. Flag is cleared by writing a 1.
pub const fn error_irq(&self) -> bool
pub const fn error_irq(&self) -> bool
Set to 1 when an error is reported by the health tests. Flag is cleared by writing a 1.
pub fn set_error_irq(&mut self, val: bool)
pub fn set_error_irq(&mut self, val: bool)
Set to 1 when an error is reported by the health tests. Flag is cleared by writing a 1.
Trait Implementations§
impl Copy for IrqSr
impl Eq for IrqSr
impl StructuralPartialEq for IrqSr
Auto Trait Implementations§
impl Freeze for IrqSr
impl RefUnwindSafe for IrqSr
impl Send for IrqSr
impl Sync for IrqSr
impl Unpin for IrqSr
impl UnwindSafe for IrqSr
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