Struct ClkStatus
#[repr(transparent)]pub struct ClkStatus(pub u32);Expand description
CRYPTOCELL clocks status register.
Tuple Fields§
§0: u32Implementations§
§impl ClkStatus
impl ClkStatus
pub const fn set_aes_clk(&mut self, val: bool)
pub const fn set_aes_clk(&mut self, val: bool)
Status of AES engine clock.
pub const fn set_hash_clk(&mut self, val: bool)
pub const fn set_hash_clk(&mut self, val: bool)
Status of HASH engine clock.
pub const fn set_pka_clk(&mut self, val: bool)
pub const fn set_pka_clk(&mut self, val: bool)
Status of PKA engine clock.
pub const fn chacha_clk(&self) -> bool
pub const fn chacha_clk(&self) -> bool
Status of CHACHA engine clock.
pub const fn set_chacha_clk(&mut self, val: bool)
pub const fn set_chacha_clk(&mut self, val: bool)
Status of CHACHA engine clock.
pub const fn set_dma_clk(&mut self, val: bool)
pub const fn set_dma_clk(&mut self, val: bool)
Status of DMA engines clock.
Trait Implementations§
impl Copy for ClkStatus
impl Eq for ClkStatus
impl StructuralPartialEq for ClkStatus
Auto Trait Implementations§
impl Freeze for ClkStatus
impl RefUnwindSafe for ClkStatus
impl Send for ClkStatus
impl Sync for ClkStatus
impl Unpin for ClkStatus
impl UnsafeUnpin for ClkStatus
impl UnwindSafe for ClkStatus
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