#[repr(u8)]
pub enum KEY_AW {
WriteProtect,
Step2,
Step1,
}
Expand description
SRAM2 write protection key for software erase
Value on reset: 0
Variants
WriteProtect
17: Activate SRAM2ER bits write protection
Step2
83: Step 2 to remove SRAM2ER bits write protection
Step1
202: Step 1 to remove SRAM2ER bits write protection
Trait Implementations
impl Copy for KEY_AW
impl StructuralPartialEq for KEY_AW
Auto Trait Implementations
impl RefUnwindSafe for KEY_AW
impl Send for KEY_AW
impl Sync for KEY_AW
impl Unpin for KEY_AW
impl UnwindSafe for KEY_AW
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