pub struct W(_);
Expand description
Register KEYLOCK
writer
Implementations
sourceimpl W
impl W
sourcepub fn key0(&mut self) -> KEY0_W<'_>
pub fn key0(&mut self) -> KEY0_W<'_>
Bits 0:1 - “10:Write access to KEY0MASK, KEYENABLE.KEY0 and KEYRESET.KEY0 is allowed. 00, 01, 11:Write access to KEY0MASK, KEYENABLE.KEY0 and KEYRESET.KEY0 is NOT allowed. Important Note : Once this field is written with a value different from ‘10’, its value can no longer be modified until un Power On Reset occurs.”
sourcepub fn key1(&mut self) -> KEY1_W<'_>
pub fn key1(&mut self) -> KEY1_W<'_>
Bits 2:3 - “10:Write access to KEY1MASK, KEYENABLE.KEY1 and KEYRESET.KEY1 is allowed. 00, 01, 11:Write access to KEY1MASK, KEYENABLE.KEY1 and KEYRESET.KEY1 is NOT allowed. Important Note : Once this field is written with a value different from ‘10’, its value can no longer be modified until un Power On Reset occurs.”
sourcepub fn key2(&mut self) -> KEY2_W<'_>
pub fn key2(&mut self) -> KEY2_W<'_>
Bits 4:5 - “10:Write access to KEY2MASK, KEYENABLE.KEY2 and KEYRESET.KEY2 is allowed. 00, 01, 11:Write access to KEY2MASK, KEYENABLE.KEY2 and KEYRESET.KEY2 is NOT allowed. Important Note : Once this field is written with a value different from ‘10’, its value can no longer be modified until un Power On Reset occurs.”
sourcepub fn key3(&mut self) -> KEY3_W<'_>
pub fn key3(&mut self) -> KEY3_W<'_>
Bits 6:7 - “10:Write access to KEY3MASK, KEYENABLE.KEY3 and KEYRESET.KEY3 is allowed. 00, 01, 11:Write access to KEY3MASK, KEYENABLE.KEY3 and KEYRESET.KEY3 is NOT allowed. Important Note : Once this field is written with a value different from ‘10’, its value can no longer be modified until un Power On Reset occurs.”
Methods from Deref<Target = W<KEYLOCK_SPEC>>
Trait Implementations
sourceimpl From<W<KEYLOCK_SPEC>> for W
impl From<W<KEYLOCK_SPEC>> for W
sourcefn from(writer: W<KEYLOCK_SPEC>) -> Self
fn from(writer: W<KEYLOCK_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more