#[repr(transparent)]pub struct Ctrl(pub u32);Expand description
PUF Control register
Tuple Fields§
§0: u32Implementations§
Source§impl Ctrl
impl Ctrl
Sourcepub const fn set_zeroize(&mut self, val: bool)
pub const fn set_zeroize(&mut self, val: bool)
Begin Zeroize operation for PUF and go to Error state
Sourcepub const fn set_enroll(&mut self, val: bool)
pub const fn set_enroll(&mut self, val: bool)
Begin Enroll operation
Sourcepub const fn generatekey(&self) -> bool
pub const fn generatekey(&self) -> bool
Begin Set Intrinsic Key operation
Sourcepub const fn set_generatekey(&mut self, val: bool)
pub const fn set_generatekey(&mut self, val: bool)
Begin Set Intrinsic Key operation
Sourcepub const fn set_setkey(&mut self, val: bool)
pub const fn set_setkey(&mut self, val: bool)
Begin Set User Key operation
Sourcepub const fn set_getkey(&mut self, val: bool)
pub const fn set_getkey(&mut self, val: bool)
Begin Get Key operation
Trait Implementations§
impl Copy for Ctrl
impl Eq for Ctrl
impl StructuralPartialEq for Ctrl
Auto Trait Implementations§
impl Freeze for Ctrl
impl RefUnwindSafe for Ctrl
impl Send for Ctrl
impl Sync for Ctrl
impl Unpin for Ctrl
impl UnwindSafe for Ctrl
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