#[repr(transparent)]pub struct Icr(pub u32);
Expand description
Interrupt clear register. Writing a 1 bit into a field in this register will clear the corresponding bit in IRR.
Tuple Fields§
§0: u32
Implementations§
Source§impl Icr
impl Icr
Sourcepub const fn sram_to_din_clear(&self) -> bool
pub const fn sram_to_din_clear(&self) -> bool
The RNG SRAM to DIN DMA done interrupt clear.
Sourcepub fn set_sram_to_din_clear(&mut self, val: bool)
pub fn set_sram_to_din_clear(&mut self, val: bool)
The RNG SRAM to DIN DMA done interrupt clear.
Sourcepub const fn dout_to_sram_clear(&self) -> bool
pub const fn dout_to_sram_clear(&self) -> bool
The DOUT to RNG SRAM DMA done interrupt clear.
Sourcepub fn set_dout_to_sram_clear(&mut self, val: bool)
pub fn set_dout_to_sram_clear(&mut self, val: bool)
The DOUT to RNG SRAM DMA done interrupt clear.
Sourcepub const fn mem_to_din_clear(&self) -> bool
pub const fn mem_to_din_clear(&self) -> bool
The memory to DIN DMA done interrupt clear.
Sourcepub fn set_mem_to_din_clear(&mut self, val: bool)
pub fn set_mem_to_din_clear(&mut self, val: bool)
The memory to DIN DMA done interrupt clear.
Sourcepub const fn dout_to_mem_clear(&self) -> bool
pub const fn dout_to_mem_clear(&self) -> bool
The DOUT to memory DMA done interrupt clear.
Sourcepub fn set_dout_to_mem_clear(&mut self, val: bool)
pub fn set_dout_to_mem_clear(&mut self, val: bool)
The DOUT to memory DMA done interrupt clear.
Sourcepub const fn ahb_err_clear(&self) -> bool
pub const fn ahb_err_clear(&self) -> bool
The AHB error interrupt clear.
Sourcepub fn set_ahb_err_clear(&mut self, val: bool)
pub fn set_ahb_err_clear(&mut self, val: bool)
The AHB error interrupt clear.
Sourcepub fn set_pka_clear(&mut self, val: bool)
pub fn set_pka_clear(&mut self, val: bool)
The PKA end of operation interrupt clear.
Sourcepub const fn rng_clear(&self) -> bool
pub const fn rng_clear(&self) -> bool
The RNG interrupt clear. Register RNG_ISR in the RNG engine must be cleared before this interrupt can be cleared.
Sourcepub fn set_rng_clear(&mut self, val: bool)
pub fn set_rng_clear(&mut self, val: bool)
The RNG interrupt clear. Register RNG_ISR in the RNG engine must be cleared before this interrupt can be cleared.
Trait Implementations§
impl Copy for Icr
impl Eq for Icr
impl StructuralPartialEq for Icr
Auto Trait Implementations§
impl Freeze for Icr
impl RefUnwindSafe for Icr
impl Send for Icr
impl Sync for Icr
impl Unpin for Icr
impl UnwindSafe for Icr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)