Struct Enable
#[repr(transparent)]pub struct Enable(pub u32);
Expand description
Enable CRACEN peripheral modules.
Tuple Fields§
§0: u32
Implementations§
§impl Enable
impl Enable
pub const fn cryptomaster(&self) -> bool
pub const fn cryptomaster(&self) -> bool
Enable cryptomaster
pub fn set_cryptomaster(&mut self, val: bool)
pub fn set_cryptomaster(&mut self, val: bool)
Enable cryptomaster
pub fn set_pkeikg(&mut self, val: bool)
pub fn set_pkeikg(&mut self, val: bool)
Enable PKE and IKG
Trait Implementations§
impl Copy for Enable
impl Eq for Enable
impl StructuralPartialEq for Enable
Auto Trait Implementations§
impl Freeze for Enable
impl RefUnwindSafe for Enable
impl Send for Enable
impl Sync for Enable
impl Unpin for Enable
impl UnwindSafe for Enable
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
)