Struct Seedlock
#[repr(transparent)]pub struct Seedlock(pub u32);Expand description
Indicates the access to the SEED register is locked. Writing this register has no effect.
Tuple Fields§
§0: u32Implementations§
§impl Seedlock
impl Seedlock
pub const fn set_enable_0(&mut self, val: bool)
pub const fn set_enable_0(&mut self, val: bool)
Enable the lock for SEED[0].
pub const fn set_enable_1(&mut self, val: bool)
pub const fn set_enable_1(&mut self, val: bool)
Enable the lock for SEED[1].
pub const fn set_enable_2(&mut self, val: bool)
pub const fn set_enable_2(&mut self, val: bool)
Enable the lock for SEED[2].
pub const fn set_enable_3(&mut self, val: bool)
pub const fn set_enable_3(&mut self, val: bool)
Enable the lock for SEED[3].
pub const fn set_enable_4(&mut self, val: bool)
pub const fn set_enable_4(&mut self, val: bool)
Enable the lock for SEED[4].
pub const fn set_enable_5(&mut self, val: bool)
pub const fn set_enable_5(&mut self, val: bool)
Enable the lock for SEED[5].
pub const fn set_enable_6(&mut self, val: bool)
pub const fn set_enable_6(&mut self, val: bool)
Enable the lock for SEED[6].
pub const fn set_enable_7(&mut self, val: bool)
pub const fn set_enable_7(&mut self, val: bool)
Enable the lock for SEED[7].
pub const fn set_enable_8(&mut self, val: bool)
pub const fn set_enable_8(&mut self, val: bool)
Enable the lock for SEED[8].
pub const fn set_enable_9(&mut self, val: bool)
pub const fn set_enable_9(&mut self, val: bool)
Enable the lock for SEED[9].
pub const fn set_enable_10(&mut self, val: bool)
pub const fn set_enable_10(&mut self, val: bool)
Enable the lock for SEED[10].
pub const fn set_enable_11(&mut self, val: bool)
pub const fn set_enable_11(&mut self, val: bool)
Enable the lock for SEED[11].
Trait Implementations§
impl Copy for Seedlock
impl Eq for Seedlock
impl StructuralPartialEq for Seedlock
Auto Trait Implementations§
impl Forget for Seedlock
impl Freeze for Seedlock
impl Move for Seedlock
impl RefUnwindSafe for Seedlock
impl Send for Seedlock
impl Sync for Seedlock
impl Unpin for Seedlock
impl UnsafeUnpin for Seedlock
impl UnwindSafe for Seedlock
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