#[repr(transparent)]pub struct SecCfg(pub u32);Expand description
Security Configuration Register
Tuple Fields§
§0: u32Implementations§
Source§impl SecCfg
impl SecCfg
Sourcepub const fn set_unused0(&mut self, val: bool)
pub const fn set_unused0(&mut self, val: bool)
This bit is unused. Ignore.
Sourcepub const fn set_no_prgm(&mut self, val: NoPrgm)
pub const fn set_no_prgm(&mut self, val: NoPrgm)
If set, the TRNG registers cannot be programmed
Sourcepub const fn set_unused2(&mut self, val: bool)
pub const fn set_unused2(&mut self, val: bool)
This bit is unused. Ignore.
Trait Implementations§
impl Copy for SecCfg
impl Eq for SecCfg
impl StructuralPartialEq for SecCfg
Auto Trait Implementations§
impl Freeze for SecCfg
impl RefUnwindSafe for SecCfg
impl Send for SecCfg
impl Sync for SecCfg
impl Unpin for SecCfg
impl UnwindSafe for SecCfg
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