#[repr(transparent)]pub struct Intenset(pub u32);Expand description
Write 1 to enable interrupts; reads back with which are set.
Tuple Fields§
§0: u32Implementations§
Source§impl Intenset
impl Intenset
Sourcepub const fn set_waiting(&mut self, val: bool)
pub const fn set_waiting(&mut self, val: bool)
Indicates if should interrupt when waiting for data input.
Sourcepub const fn digest(&self) -> bool
pub const fn digest(&self) -> bool
Indicates if should interrupt when Digest (or Outdata) is ready (completed a hash/crypto or completed a full sequence).
Sourcepub const fn set_digest(&mut self, val: bool)
pub const fn set_digest(&mut self, val: bool)
Indicates if should interrupt when Digest (or Outdata) is ready (completed a hash/crypto or completed a full sequence).
Trait Implementations§
impl Copy for Intenset
impl Eq for Intenset
impl StructuralPartialEq for Intenset
Auto Trait Implementations§
impl Freeze for Intenset
impl RefUnwindSafe for Intenset
impl Send for Intenset
impl Sync for Intenset
impl Unpin for Intenset
impl UnwindSafe for Intenset
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