Enum stm32wlxx_hal::pac::tim1::bdtr::LOCK_A
#[repr(u8)]pub enum LOCK_A {
Off = 0,
Level1 = 1,
Level2 = 2,
Level3 = 3,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
Lock configuration
Value on reset: 0
Variants§
Off = 0
0: No write protection
Level1 = 1
1: Level 1 write protection
Level2 = 2
2: Level 2 write protection
Level3 = 3
3: Level 3 write protection
Trait Implementations§
impl Copy for LOCK_A
impl StructuralPartialEq for LOCK_A
Auto Trait Implementations§
impl RefUnwindSafe for LOCK_A
impl Send for LOCK_A
impl Sync for LOCK_A
impl Unpin for LOCK_A
impl UnwindSafe for LOCK_A
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