#[repr(transparent)]pub struct ClkStatus(pub u32);
Expand description
CRYPTOCELL clocks status register.
Tuple Fields§
§0: u32
Implementations§
Source§impl ClkStatus
impl ClkStatus
Sourcepub fn set_aes_clk(&mut self, val: bool)
pub fn set_aes_clk(&mut self, val: bool)
Status of AES engine clock.
Sourcepub fn set_hash_clk(&mut self, val: bool)
pub fn set_hash_clk(&mut self, val: bool)
Status of HASH engine clock.
Sourcepub fn set_pka_clk(&mut self, val: bool)
pub fn set_pka_clk(&mut self, val: bool)
Status of PKA engine clock.
Sourcepub const fn chacha_clk(&self) -> bool
pub const fn chacha_clk(&self) -> bool
Status of CHACHA engine clock.
Sourcepub fn set_chacha_clk(&mut self, val: bool)
pub fn set_chacha_clk(&mut self, val: bool)
Status of CHACHA engine clock.
Sourcepub fn set_dma_clk(&mut self, val: bool)
pub 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 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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)